+ 2
How to scan long string as input beacuse as i scan string after the space in string not present in memory and print few word
C++
5 ответов
+ 1
Ya but there is anather inbuilt function in c++ that i do t know
+ 1
Sorry I didn't saw. I think you are talking about java.
In c++ you can use getline();
0
Try using nextLine();
0
As we compare string with some special char are another thing then getline will not work in some compiler