Format is key point for Output. you need to know the common manipulator
to control the output format.
Number base manipulators: hex, oct and dec; Field widths: Width, fill,
precision Setf()
You don’t need to know the details, just name of them. When you
want to use them go to reference website to look.A detail format
manipulators can be seen on C++ primer P1090. You need to include
<iomanip>
<< is a bitwise left-shift operator in C language, but in C++, we overloaded
it in ostream class, cout is a object of ostream,
You can use cout<<flush to force flushing the output buffer
cout.write can be used to output a string, It will output certain length
string, even reach the end of string.