c++ cout string and variable code example Example: c++ cout int #include <iostream> std::cout << "Hello, World!" << std::endl;