Objectives :
- myios_setw1.cpp
- manipulators, ios, ios_base members
- ios_base width : Get/Set field
- ios::internal :sign on the left and number on the right
justified
- ios::left : numbers are aligned left and signs are on right
- ios::right : opposite to left
- setfill: behaves like fill, fills character
- ios::fill
- setw set field width simliar to ios_base::width
- Code:
myios_setw1.txt
|