// Hello world using a string object #include #include int main() { std::string s = "hello world"; std::cout << s << "\n"; return 0; }