What is the data type for strings and why won't my. Code work | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
9th Sep 2018, 11:00 PM
4ch4k
4ch4k - avatar
2 Answers
+ 4
You could either use 1. std::string name. or 2. #include "string" .. string name; Here's a sample of the first https://code.sololearn.com/cAMqb77Q87js/?ref=app
9th Sep 2018, 11:09 PM
Dlite
Dlite - avatar
+ 2
thx
9th Sep 2018, 11:10 PM
4ch4k
4ch4k - avatar