#include <iostream> #include <string> int main() { std::string s = "Hello, World!"; for (int i = 0; i < s.length(); i++) { std::cout << s[i] << std::endl; } }