Lessons
C++ · Text and Array · 18. Working with Text
step 1 of 7
A box for text
An int box holds a number. A string box holds text — words, names, anything in quotes.
Add #include <string> at the top so I know the tool.
Mission
Put Saraa in the box so I say Hi, Saraa!
PIP·1
main.cppyour code
1
2
3
4
5
6
7
8
9
← press me!
Press RUN to see what this program does.