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.

28th Aug 2017, 11:07 PM
Bogdan
Bogdan - avatar
3 Antworten
+ 6
getline(cin, string_variable) Check my encryption code and how I used cin
28th Aug 2017, 11:12 PM
Elva
Elva - avatar
+ 1
thanks a lot <3
28th Aug 2017, 11:17 PM
Bogdan
Bogdan - avatar
0
sorry for my English.
28th Aug 2017, 11:07 PM
Bogdan
Bogdan - avatar