Apr 3, 2017 at 4:51am
Thanks for your help!
Last edited on Apr 3, 2017 at 11:03pm
Apr 3, 2017 at 4:58am
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 Apr 3, 2017 at 4:59am
Apr 3, 2017 at 5:03am
Thanks for your help!
Last edited on Apr 3, 2017 at 11:03pm