Input/Output
Home Up

 

Same level pages:
Language Support
Diagnostics
General Utilities
Strings
Localization
Numerics
Input/Output

Parent level pages:
STL
FAQs
Headers
Libraries

Standard iostream objects

<iostream>
Objects
extern istream cin;
extern ostream cout;
extern ostream cerr;
extern ostream clog;
extern wistream win;
extern wostream wout;
extern wostream werr;
extern wostream wlog;

Iostreams base classes

<ios>
Classes/Structs
template <class charT> struct ios_traits<charT>;
struct ios_traits<char>;
struct ios_traits<wchar_t>;
class ios_base;
template<class charT, class traits = ios_traits<charT> > class basic_ios;
Typedefs
typedef OFF_T streamoff;
typedef OFF_T wstreamoff;
typedef INT_T streamsize;
typedef basic_ios<char> ios;
typedef basic_ios<wchar_t> wios;
Functions (a.k.a., manipulators)
ios_base& boolalpha (ios_base& str);
ios_base& noboolalpha(ios_base& str);
ios_base& showbase (ios_base& str);
ios_base& noshowbase (ios_base& str);
ios_base& showpoint (ios_base& str);
ios_base& noshowpoint(ios_base& str);
ios_base& showpos (ios_base& str);
ios_base& noshowpos (ios_base& str);
ios_base& skipws (ios_base& str);
ios_base& noskipws (ios_base& str);
ios_base& uppercase (ios_base& str);
ios_base& nouppercase (ios_base& str);
ios_base& internal (ios_base& str);
ios_base& left (ios_base& str);
ios_base& right (ios_base& str);
ios_base& dec (ios_base& str);
ios_base& hex (ios_base& str);
ios_base& oct (ios_base& str);
ios_base& fixed (ios_base& str);
ios_base& scientific (ios_base& str);

Stream buffers

<streambuf>
Classes
template<class charT, class traits = ios_traits<charT> > class basic_ios;
Typedefs
typedef basic_streambuf<char> streambuf;
typedef basic_streambuf<wchar_t> wstreambuf;

Formatting and manipulators

<istream>
Classes
template <class charT, class traits = ios_traits<charT> > class basic_istream;
Typedefs
typedef basic_istream<char> istream;
typedef basic_istream<wchar_t> wistream;
Functions
template<class charT, class traits> basic_istream<charT,traits>& ws(basic_istream<charT,traits>& is);
<ostream>
Classes
template <class charT, class traits = ioc_traits<charT> > class basic_ostream;
Typedefs
typedef basic_ostream<char> ostream;
typedef basic_ostream<wchar_t> wostream;
Functions
basic_ostream<charT, traits>& endl (basic_ostream<charT,traits>& os);
basic_ostream<charT, traits>& ends (basic_ostream<charT,traits>& os);
basic_ostream<charT, traits>& flush (basic_ostream<charT, traits>& os);
<iomanip>
Functions (unspecified return type)
resetiosflags (ios_base::fmtflags mask);
setiosflags (ios_base::fmtflags mask);
setbase (int base);
setfill (int c);
setprecision (int n);
setw (int n);

String Streams

<sstream>
Classes
template <class charT, class traits = int_charT_traits<charT> > class basic_stringbuf;
template <class charT, class traits = ios_traits<charT> > class basic_istringstream;
template <class charT, class traits = ios_traits<charT> > class basic_ostringstream;
Typedefs
typedef basic_stringbuf<char> stringbuf;
typedef basic_stringbuf<wchar_t> wstringbuf;
typedef basic_istringstream<char> istringstream;
typedef basic_istringstream<wchar_t> wistringstream;
typedef basic_ostringstream<char> ostringstream;
typedef basic_ostringstream<wchar_t> wostringstream;
<cstdlib>
Functions
atoi()
atol()
strtod()
strtol()

File Streams

<fstream>
Classes
template <class charT, class traits = ios_traits<charT> > class basic_filebuf;
template <class charT, class traits = ios_traits<charT> > class basic_ifstream;
template <class charT, class traits = ios_traits<charT> > class basic_ofstream;
Typedefs
typedef basic_filebuf<char> filebuf;
typedef basic_filebuf<wchar_t> wfilebuf;
typedef basic_ifstream<char> ifstream;
typedef basic_ifstream<wchar_t> wifstream;
typedef basic_ofstream<char> ofstream;
typedef basic_ofstream<wchar_t> wofstream;
<cstdio>
Macros
BUFSIZ
EOF
FILENAME_MAX
FOPEN_MAX
L_tmpnam
NULL
SEEK_CURR
SEEK_END
SEEK_SET
stdin
stdout
stderr
TMP_MAX
_IOLBF
_IONBF
_IOFBF
Typedefs
FILE
fpos_t
size_t
Functions
clearerr()
fclose()
feof()
ferror()
fflush()
fgetc()
fgetpos()
fgets()
fopen()
fprintf()
fputc()
fputs()
fread()
freopen()
fscanf()
fseek()
fsetpos()
ftell()
fwrite()
fgetc()
getc()
getchar()
gets()
perror()
printf()
putc()
puts()
remove()
rename()
rewind()
scanf()
setbuf()
setvbuf()
sscanf()
tmpfile()
tmpnam()
ungetc()
vprintf()
vsprintf()
<cwchar>
Macros
NULL
WCHAR_MAX
WCHAR_MIN
WEOF
Structs
tm
Typedefs
mbstate_t
wint_t
Functions
btowc()
fgetwc()
fgetws()
fputwc()
fputws()
fwide()
fwprintf()
fwscanf()
getwc()
getwchar()
mbrlen()
mbrtowc()
mbsinit()
mbsrtowcs()
putwc()
putwchar()
swprintf()
swscanf()
ungetwc()
vfwprintf()
vswprintf()
wcrtomb()
wcscat()
wcschr()
wcscmp()
wcscoll()
wcscpy()
wcscspn()
wcsftime()
wcslen()
wcsncat()
wcsncmp()
wcsncmp()
wcsncpy()
wcspbrk()
wcsrchr()
wcsrtombs()
wcsspn()
wcsstr()
wcstod()
wcstok()
wcstol()
wcstoul()
wcsxfrm()
wctob()
wmemchr()
wmemcmp()
wmemcpy()
wmemmove()
wmemset()
wprintf()
wscanf()
 
ŠPaul Buis & Ball State University Author: Paul Buis (peb@bsu.edu) Last Modified:10/31/00 05:24 PM

NOTICE: The information presented on this page represents the personal views, ideas, and opinions of the author. This is not an official Ball State University web page. Links contained at this web site to other organizations, are presented as a service and neither constitute nor imply university endorsement or warranty.