I\'m new to C++, and right now I\'m learning from the book called Accelerated C++. I finished the third chapter (vectors), and I came to this exercise:
\"Write
Add << flush to flush your output buffer (each place).
<< flush
Or use << endl, which both adds newline and flushes.
<< endl
There are problems with the code, especially for empty input, but that's what you're out to learn about, so I'll leave you to it! :-)
Cheers & hth.,