728x90
728x170
*[header][Input/Output] ios
<ios>
Input-Output base classes
![click on an element for detailed information click on an element for detailed information](http://www.cplusplus.com/img/iostream.gif)
Types
Class templates
- basic_ios
- Base class for streams (type-dependent components) (class template )
- fpos
- Stream position class template (class template )
Classes
- ios
- Base class for streams (type-dependent components) (class )
- ios_base
- Base class for streams (class )
- wios
- Base class for wide character streams (class )
Other types
- io_errc
- Input/output error conditions (enum class )
- streamoff
- Stream offset type (type )
- streampos
- Stream position type (type )
- streamsize
- Stream size type (type )
- wstreampos
- Wide stream position type (type )
Format flag manipulators (functions)
Independent flags (switch on):- boolalpha
- Alphanumerical bool values (function )
- showbase
- Show numerical base prefixes (function )
- showpoint
- Show decimal point (function )
- showpos
- Show positive signs (function )
- skipws
- Skip whitespaces (function )
- unitbuf
- Flush buffer after insertions (function )
- uppercase
- Generate upper-case letters (function )
- noboolalpha
- No alphanumerical bool values (function )
- noshowbase
- Do not show numerical base prefixes (function )
- noshowpoint
- Do not show decimal point (function )
- noshowpos
- Do not show positive signs (function )
- noskipws
- Do not skip whitespaces (function )
- nounitbuf
- Do not force flushes after insertions (function )
- nouppercase
- Do not generate upper case letters (function )
- dec
- Use decimal base (function )
- hex
- Use hexadecimal base (function )
- oct
- Use octal base (function )
- fixed
- Use fixed floating-point notation (function )
- scientific
- Use scientific floating-point notation (function )
- internal
- Adjust field by inserting characters at an internal position (function )
- left
- Adjust output to the left (function )
- right
- Adjust output to the right (function )
Other functions
- iostream_category
- Return iostream category (function )
Notice that not all standard manipulators are defined in this header. Input streams also support ws, and output streams endl, ends and flush. Streams also support an additional set of manipulators, which are parametric and defined apart in header <iomanip>. These are: setiosflags, resetiosflags, setbase, setfill, setprecision, setw
728x90
그리드형(광고전용)
'Programming > C++' 카테고리의 다른 글
[header][Input/Output] ostream (0) | 2017.11.08 |
---|---|
[header][Input/Output] istream (0) | 2017.11.08 |
[header][Input/Output] iostream (0) | 2017.11.08 |
[header][Input/Output] iosfwd (0) | 2017.11.08 |
[header][Input/Output] iomanip (0) | 2017.11.08 |
[header][Input/Output] fstream (0) | 2017.11.08 |
[header][Multi-threading] thread (C++11) (0) | 2017.11.08 |
[header][Multi-threading] mutex (C++11) (0) | 2017.11.08 |