std::dec
std::dec, std::hex, std::oct
Defined in header <ios> | ||
---|---|---|
std::ios_base& dec( std::ios_base& str ); | (1) | |
std::ios_base& hex( std::ios_base& str ); | (2) | |
std::ios_base& oct( std::ios_base& str ); | (3) |
Modifies the default numeric base for integer I/O.
1) sets the basefield
of the stream str
to dec
as if by calling str.setf登录查看完整内容