Forum: C++ Jul 30th, 2007 |
| Replies: 3 Views: 2,106 Hi I am newer to programming and need a bit of help with this program.
You all have helped me in the past with my programs but this is a very complicated array of structs program and I don't... |
Forum: C++ Jul 16th, 2007 |
| Replies: 15 Views: 3,385 Hey Friend,
I changed a bit to,
string word;
string line1;
string longestWord;
int totalWordLength = 0;
int wordCount = 0;
int categories[2] = {0}; |
Forum: C++ Jul 16th, 2007 |
| Replies: 15 Views: 3,385 Hey Buddy Thanks for the help, its giving me no errors, just that way but isnt kicking out any responce.
Do you know what the prob, could be.
thanks |
Forum: C++ Jul 16th, 2007 |
| Replies: 15 Views: 3,385 I just put that in my compiler just how you had it and it is giving me the following errors;
62 F:\C++\parser2.cpp `isvowel' undeclared (first use this function)
67 F:\C++\parser2.cpp `VOWEL'... |
Forum: C++ Jul 16th, 2007 |
| Replies: 15 Views: 3,385 Well this is what i had first, but all this does is break up the first word into letters which is perfect, but i need it to do this same thing but line by line.
string line;
int linecount = 0;... |
Forum: C++ Jul 16th, 2007 |
| Replies: 15 Views: 3,385 Hamrick,
Thanks for the quick reply, tried that help in my program but keep getting several error. Not sure what is wrong, you are using C++ right, hmm.. not sure whats wrong, but i will continue... |
Forum: C++ Jul 16th, 2007 |
| Replies: 15 Views: 3,385 Thank you both for your input,
My teacher just changed the program a bit and said he also wants us to output like this;
total word count = #####
Vowel count = #####
Consonant count = ######... |
Forum: C++ Jul 16th, 2007 |
| Replies: 15 Views: 3,385 Hey newer programmer here need a bit of help.
The direction are bascially to read in from a file some words in the form of a paragraph with no punctuations and no commas etc.
The file will... |
Forum: C++ Jul 12th, 2007 |
| Replies: 11 Views: 2,401 Killer Typo
Thanks for the help. It seems to be working the way I input everything, and I had to make some changes but it is still giving me one error.
for this:
int len =... |
Forum: C++ Jul 12th, 2007 |
| Replies: 11 Views: 2,401 I am still working on this program and have all of the calculations basicallly laid out.
I just keep having trouble, I read in the name in the file;
in file;
tom
mike
al
rob |
Forum: C++ Jul 10th, 2007 |
| Replies: 11 Views: 2,401 Hey all I am writing this program and I am trying to read in a group of names from a file example:
Peter
Mike
Juan
Valentino
Stephanie
I need to read each name one by one and look at for... |
Forum: C++ Jul 3rd, 2007 |
| Replies: 7 Views: 840 First off "Salem", yes I have 25 posts and they were all me in my class requesting help on different topics. Actually I had good luck b/c people that were nice and helpful not so rude like yourself... |
Forum: C++ Jul 3rd, 2007 |
| Replies: 7 Views: 840 Please Help, I have our first assignment here on functions. It is pretty difficult, at least the one part that I keep getting stuck on. I seemed to manuver through the other parts I was having... |
Forum: C++ Jun 27th, 2007 |
| Replies: 17 Views: 2,016 I put this for the sort, and its not seeming to work, but i seem to not be getting a good handle on this sort idea. After all of your other help I pretty much understand all of the rest pretty well,... |
Forum: C++ Jun 26th, 2007 |
| Replies: 17 Views: 2,016 if you could show me an example I would appreciate it, that way I can see what is going on in each step, and can you put a small description next to each step you do.
Thanks, |
Forum: C++ Jun 26th, 2007 |
| Replies: 17 Views: 2,016 I have been working on this program and seem to be getting a handle on it. And have it set up ready to have a bubble sort performed at the word sort = but performing the actual sort is giving me some... |
Forum: C++ Jun 25th, 2007 |
| Replies: 17 Views: 2,016 Thank Everyone for the description and explanation behind arrays. They seemed very confusing to me when I first learned them but now I am starting to begin to understand them much better. I wanted to... |
Forum: C++ Jun 23rd, 2007 |
| Replies: 17 Views: 2,016 we just started a new topic in class of arrays, he gave us an explanation and it was very foggy, but now i got home to do my program i can not even figure out what is going on. Any help you can give... |
Forum: C++ Jun 21st, 2007 |
| Replies: 8 Views: 897 I have almost of all my problems solved on this program as far as the converting from a string to a double, but the last part of the program here is giving me some trouble, it says to take the city... |
Forum: C++ Jun 21st, 2007 |
| Replies: 8 Views: 897 hey im sorry i didnt see what you were getting at, that wasn't a very nice comment i appoigize if i seem juvenile in my questions but im trying to learn im not like some scummbags that take... |
Forum: C++ Jun 21st, 2007 |
| Replies: 8 Views: 897 thanks for the help, ill give the beginning part a try, changing the if statement but not exactly sure what you mean by clear member function.
thanks |
Forum: C++ Jun 21st, 2007 |
| Replies: 8 Views: 897 Schanz ##Hannelore#####SX1234540.009.551000.0
Liffer## # Umfritz ###### CM2345638.508.670301.5
Ajahb ###Fyndmee #####CX3456739.606.830203.9
Zyzz ##... |
Forum: C++ Jun 21st, 2007 |
| Replies: 8 Views: 897 I have to write a program for class and it is suppose to read in an unknown number of employee records from a text file and each employee string has 47 characters, which includes name, employee... |
Forum: C++ Jun 14th, 2007 |
| Replies: 2 Views: 582 Also I have had a bit of direction from the teachers handouts
EX:
int second;
if(second % 5 == 0)
putchar('\n');
cout << number2;
... |
Forum: C++ Jun 14th, 2007 |
| Replies: 2 Views: 582 My program seems all correct but when I run the program my outputs are all what they need to be but I just cant seem to figure out how to send my output into 5 seperate columns. After reading the... |
Forum: C++ Jun 13th, 2007 |
| Replies: 4 Views: 1,232 HI,
I have been working on this program for a bit now and having a little bit of trouble, I have got most of it but still a few stumbles.
Here is the Directions:
Write a program that will... |
Forum: C++ Jun 7th, 2007 |
| Replies: 3 Views: 881 Narue,
Thank You very much for your help, I ended up getting it working with your help.
Thanks Alot for the Help
Radskate360 |
Forum: C++ Jun 7th, 2007 |
| Replies: 3 Views: 881 Hi,
Im a beginning C++ student and having a very tuff time, but I have been trying for a few hours, and wanted come to you guys with my questions.
I have been working on this school project and... |
Forum: C++ May 28th, 2007 |
| Replies: 2 Views: 918 Hi I am working on some homework and I seem to be in a bit of a bind, I keeping hitting a wall, and I have been reading my book and looking for examples that may help, but I am quite unsuccessful.
... |
Forum: C++ May 26th, 2007 |
| Replies: 10 Views: 1,552 Narue (http://www.daniweb.com/techtalkforums/member17893.html),
I want to thank you very much for all of your help, I have read over and used what you taught me to incorporate it into the program,... |
Forum: C++ May 26th, 2007 |
| Replies: 10 Views: 1,552 I am sorry for all the confusing beginner problems, I seem to be upsetting you, I appoligize, Im trying to do my best to understand something that to me is harder than a foreign language.
I... |
Forum: C++ May 26th, 2007 |
| Replies: 10 Views: 1,552 Actually I had to open disregard last code this is the one I have so far I get the responce I am suppose to get but only for top line.
if (number % 2 != 0){
while (odd != 3579){
totalodd =... |
Forum: C++ May 26th, 2007 |
| Replies: 10 Views: 1,552 so far I made a few changes thanks for the assistance so far I got past that I did get it so show up the first number as I need it to but I cant get the second number to show up.
but then I tried... |
Forum: C++ May 25th, 2007 |
| Replies: 10 Views: 1,552 Hi all,
I have a assignment that says, write a program that will add up all of the odd numbers from 1 through 3579 and alll of the even numbers from 522 to 2222.
Use While loops.
Output... |
Forum: C++ May 24th, 2007 |
| Replies: 2 Views: 940 Hi all I had made a post a bit ago and had a few responces, they all really helped and I got past that part so wanted to just finish up and needed a bit more assistance
so far I have everything i... |
Forum: C++ May 24th, 2007 |
| Replies: 3 Views: 1,637 IF anyone can give me a little more assistance I would be very greatful.
I am working on this program for my C++ class and here is how it goes.
Directions.
Write a program that calculates... |
Forum: C++ May 23rd, 2007 |
| Replies: 3 Views: 961 Our assignment is to write a program that calculates the volume of three geometric shapes, the program should ask for a shape and the three shapes we are to use is a dumbell, axle, spear. And he... |