Quote:Original post by Glak
I also strongly recommend that you stop adapting example source code, as I suspect that is how you are teaching yourself.
For your information, I actually GOOGLED it first, second, without finding any help, I TRIED to fix the code. I didn't just throw a bunch of symbols at it, I messed around with it and figured out that it had to be something to do with the length member of the string, but the compiler told me that it had something to do with a ampersand, AND NOT PARENTHESES. I read PLENTY of sources to learn my coding, and I am still a newbie in training. I don't have the money to shell out for a new book every time someone recommends it to me.
And, SiCrane, thanks for the suggestion, as I will try that next time.
The best thing to do is just choose whatever you think you'd prefer, and go for it. -Promit