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 Réponses
+ 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().