c++ cout in order code example
Example 1: std cout c++
#include <iostream>
using std::cout;
int main()
{
cout<<"Hello world";
return 0;
}
Example 2: how to cout in c++
std::cout << "Hello World!" << std::endl; //Or you can do
std::cout << "Hello World!" <<; //Only in some scenarios