Common C++ usage

cout << “”

Output
cin >> “”

Input
cout<<“”<<endl;//

Refresh and wrap
cout<<“”<<flush;//

Refresh without wrap, continue to output in the same line