Clearing the "input buffer"? (or whatever the start buffer)

Thanks for your help!
Last edited on
You're missing a semi-colon at the end of line 14.
Your program seems to work fine with me on the compiler you used.

sh-4.2$ g++ -o main *.cpp
sh-4.2$ main
Please enter a valid sentence (with spaces):
>hello world
You entered: hello world 
Last edited on
Thanks for your help!
Last edited on
Topic archived. No new replies allowed.