No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
20 Posted Topics
Re: Not sure exactly what you are trying to do. You could have a dictionary or list (whatever you want to use) count the letters to each white space then later re-insert the white spaces based off the dictionary. Of course it wouldn't be a permanent fix, each sentence or paragraph … | |
Re: Based on my knowledge no matter which way you do it. It will require some sort of repetition which will require a for loop or a while loop. You'll have to have some sort of loop or counter. I am not aware of a method that does this for you. … | |
Re: Hello, After quickly reviewing your code, have you thought about trying to just use the jbutton as the variable button1 + button2 = button3? Not sure if this actually helps, worth a try. If your going to use your apple functions you may want to assign them to a button? | |
Re: [QUOTE]for(int i = 0; i <= transactions.length-1; i++) [/QUOTE] I agree with quuba. using transactions.length is different then using [CODE]for(int i = 0; i <= 10; i++)[/CODE] using length looks at the number of values in transactions. So if you do the following transaction.length-1 you are basically removing a value. | |
Re: If you have access to a bash shell. There are some tool libraries to do certain shortcut keys. I recently created a bash script that will open three new terminal tabs inside one window and have them login to three different servers. As for Java alone you should try pbl's … | |
Hello, I am more experienced with Java and trying to write a script for a server I have. I need to learn Python anyway, so I am attempting to do it in python. I am not completely lost, but just puzzled why it would do this. Here is the code … | |
I'm am currently attending college and taking a java programming class. I am somewhat stumped. I get thrown in a situation and need to figure out the answer, now I do have some programming experience and in this case, my thinking would be to use a iterator. I do not … | |
I have a text file that reading the directories i need to create the only problem is I need to include a if statement to check if the directory is already made. How do I go about doing this I have these two files currently.. [CODE]#1/bin/bash cat directory.txt | while … | |
I am currently having somewhat of a brain stump here. I am programming in a larger project and well, it's on the move to c++. the source code is all c we compile by using a makefile. There is a file with several functions we are taking one removing everything … | |
I'm not sure this is the correct forum for this, but it's at least relative. I was wondering if anyone knew of some decent references and ebooks for a beginning Django user.Yes, I know djangoproject has tutorials, but there decently hard to understand. If someone could either help or steer … | |
I have been contemplating on what would be best, when it comes to learning. What I mean by that is, I have a certain job. The goal in that job is to learn python, because the job uses python django and a few other languages to complete websites. I do … | |
Re: This may help in some ways, I am going for a Software Engineer. I met a student going towards what you are interested in. He had pretty much all my classes except a few and added a few specific classes for that field. You can think of it this way, … | |
Re: Yes, I too am more of begineer when it comes to programming. You learn while experimenting basically. Don't use the book you're reading. The name itself tells you it's a fluke. I would suggest the C++ books in the forum that is stickied. I've had great sucess with Addison Wesley … | |
Re: There is another book that requires homework if you will before moving on to the next chapters. I found it challenging for a someone who is learn the language at first. I do not know how advanced you are or how much you know. Addison Wesley's Accelerated C++ has about … | |
I am stuck in way with the for loop at the end. The whole idea is to count up to gscreenwidth and then resize the string to make it cut off at 24. We want it to skip the &w or &W anything with an & and 1 character so … | |
I'm having trouble making a function that centers my results. I cannot find much information depicting how this works exactly. I've found small functions but nothing like I'd like to do. My whole idea is make a function so I can use it at anytime to center my string. Somethings … | |
Basically the idea is to center a string. I selected the total length to equal 80. I know there is no fail safe placed into this program. I know there is another way to do this. I am stuck in a way. The program works, but I think I am … | |
Hello, I am trying to compile a set of files. I got fustrated to the point of taking the actually instructor files from the book and compiled them. I am using AndLinux and the g++ compile to run my programs. If anyone is familiar with the book "Accelerated C++" I … | |
I am attempting to take names and weights from strings and just simply output them. For some reason it can't get out of the while loop, it just sets there waiting for the users to input names and weights. Here's my code [code=C++] #include <iostream> #include <string> #include <vector> using … | |
I am an average American working daily, I work at an Land Development Engineering Firm. I am currently married two kids and a wife, of course. I am currently attending College at Colorado Technical University going for a Bachelor's in Software Engineering. I am currently attempting to self teach myself … |
The End.