+ 1
27th Jan 2019, 12:38 AM
I Am Arthur
I Am Arthur - avatar
3 odpowiedzi
+ 3
You are using + on characters, not on strings. Characters are basically implemented as numbers (their ascii code), so the result is a number.
27th Jan 2019, 1:40 AM
Zen
Zen - avatar
+ 1
Zen How is it possible to sum chars/strings in c++?
27th Jan 2019, 4:32 AM
I Am Arthur
I Am Arthur - avatar
+ 1
I suppose you mean concatenate them ? https://code.sololearn.com/cvRcSrUrzKpv/?ref=app
27th Jan 2019, 9:39 AM
Zen
Zen - avatar