ios_base& hex (ios_base& str);
flag value | effect when set |
---|---|
dec | read/write integer values using decimal base format. |
hex | read/write integer values using hexadecimal base format. |
oct | read/write integer values using octal base format. |
<<
) and extraction (>>
) operations on streams (see example below).
|
|
70 46 106 |