how to cout a int c++ code example Example: c++ cout int #include <iostream> std::cout << "Hello, World!" << std::endl;