Work with the Text
Explore how to use the string data type in C++ to store, update, and combine text with numbers. Learn string concatenation and how to produce personalized output, expanding your programming skills beyond numbers.
We'll cover the following...
We'll cover the following...
So far, we’ve worked with numbers, but C++ can handle text too. In this lesson, you’ll learn how to use string to store and manipulate sentences and words.
Goal
You’ll aim to:
Use
stringto hold text.Combine strings with other ...