- 2
Hi !! Why there are three statement of loop in C++ !?why is not one !!
And what does the benefit of the cin in C++ if it stop of input if the user enter a space !!!
2 Answers
+ 4
cin is used for taking input without gap.If you want to get input with gap then have a look at it:
https://www.includehelp.com/cpp-tutorial/how-to-read-a-string-with-spaces-in-cpp.aspx
+ 2
please your code and link on your code