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