Forum: C++ Jan 25th, 2008 |
| Replies: 12 Views: 2,573 Alright... think I got it, now. Seems to run correctly. See what you think or if you might have any suggestions. Thanks.
#include <iostream>
#include <iomanip> // For setw() and... |
Forum: C++ Jan 20th, 2008 |
| Replies: 12 Views: 2,573 Ok. I'll work on that. Thanks! |
Forum: C++ Jan 20th, 2008 |
| Replies: 12 Views: 2,573 1) Ok. I deleted line 32, but by doing that the program does not allow me to actually enter a string when it asks for one and just outputs everything else in the code.
2) I changed A[n], to A[i]... |
Forum: C++ Jan 20th, 2008 |
| Replies: 12 Views: 2,573 Okay. So, I figured out a little more. I've got my loop working partially. When it asks me to enter a number of strings, and say I enter 3, it still only allows me to enter just one word. How do I... |
Forum: C++ Jan 20th, 2008 |
| Replies: 12 Views: 2,573 Thanks. I realize now that I wrote the wrong operators for cin. And thanks for the help on the for-loop, I see what you're saying.
And, I didn't run those question marks when I compiled earlier...... |
Forum: C++ Jan 19th, 2008 |
| Replies: 12 Views: 2,573 Alright... so I fixed it with Ancient Dragon's suggestions and fixed any errors I had and it runs for what I have so far.....
1. #include <iostream>
2. #include <iomanip> // For setw() and... |
Forum: C++ Jan 19th, 2008 |
| Replies: 12 Views: 2,573 Ok. I had already figured out to pull lines 22-23 out of the loop. What I am not sure of is what to put into the for-loop. Where and how do I use my array in this? I know within the for-loop I should... |
Forum: C++ Jan 19th, 2008 |
| Replies: 12 Views: 2,573 Hey. I'm having some trouble writing a program. I just begun C++ and don't know the language all that well. I've gotten a small start to the program and could really use some pointers.
Here are... |