0

String c++

How do you create a string in c++

9th Dec 2017, 9:10 PM
Jeremy Rebetje
Jeremy Rebetje - avatar
3 Answers
+ 2
Just declare a variable with keyword string infront!
9th Dec 2017, 11:36 PM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 1
make sure to include the string header and if not using STDs named space #include<string> std::string="Hello World";
10th Dec 2017, 4:12 AM
Michael Simnitt
Michael Simnitt - avatar
0
what lesson in c++ is the string gone over?
10th Mar 2020, 2:18 PM
Noel
Noel - avatar