c++ string data type stl code example Example: c++ string #include <string> std::string myString = "Hello, World!";