0
How should I count more than a single text in string?
well, I don't know how to get more than one word in string, I mean, how I can text : " Hi, my name is Bogdan " without text it right on the program, I want to do it on the input like I register a number, with : char x; cin >> x;" I can't.
3 ответов
+ 6
getline(cin, string_variable)
Check my encryption code and how I used cin
+ 1
thanks a lot <3
0
sorry for my English.