0
How i can get space in string??
e.g string a; cin>>a; when i press space cin process terminates any one can help
3 Answers
+ 8
getline(cin, a);
+ 1
thank you Jayâ€
0
U shall use a cin.getline() function. I think the Intellisense will tell u the parameter list when using cin.getline().