How to take string input in C++?
I generally use gets. But is doesn't work for 2-D arrays. On the other hand cin ignores the text after a blank. I want the input to be the exact unformatted text.
How to take string input in C++?
I generally use gets. But is doesn't work for 2-D arrays. On the other hand cin ignores the text after a blank. I want the input to be the exact unformatted text.