%s %d example c++ cout
Example 1: how to cout in c++
std::cout << "Hello World!" << std::endl; //Or you can do
std::cout << "Hello World!" <<; //Only in some scenarios
Example 2: c++ cout int
#include <iostream>
std::cout << "Hello, World!" << std::endl;