I see, thanks for the explanation. Had I went ahead a couple of pages more in the book, I would have been reminded of compound statements.
Type: Posts; User: c++urious
I see, thanks for the explanation. Had I went ahead a couple of pages more in the book, I would have been reminded of compound statements.
I'm not sure why the second line of the loop doesn't run when the braces are missing, but thanks. At least I now know what is happening.
I stepped away for a while, came back, and partially figured out what happened. I had written the example without the necessary brackets for the while loop, originally. I noticed my mistake and...
My interest in learning programming was recently rekindled, and so I picked up a copy of C++ Without Fear, recommended on the beginner list at this site. I've ran into a question for which I can't...
I'm looking at following the book list here: Book Reviews - C and C++ Books and References - Cprogramming.com Algebra was my last math class, which was years ago. How far might I get down the...