CS253

CS253: Software Development with C++

Spring 2009

IO Header Files

What Header Files Define What

<iostream>

‡istream‡ ‡cin‡;
‡ostream‡ ‡cout‡;
‡ostream‡ ‡cerr‡;
‡ostream‡ ‡clog‡;

<istream>

class ‡istream‡;
class ‡iostream‡;


<ostream>

class ‡ostream‡;

<sstream>

class ‡istringstream‡;
class ‡ostringstream‡;
class ‡stringstream‡;

<fstream>

class ‡ifstream‡;
class ‡ofstream‡;
class ‡fstream‡;

<ios>

These don’t take an argument

[no]‡boolalpha‡
[no]‡showbase‡
[no]‡showpoint‡
[no]‡showpos‡
[no]‡skipws‡
[no]‡uppercase‡
‡left‡ / ‡right‡ / ‡internal‡
‡dec‡ / ‡hex‡ / ‡oct‡
‡fixed‡ / ‡scientific‡

<iomanip>

These do take an argument

‡resetiosflags‡
‡setiosflags‡
‡setbase‡
‡setfill‡
‡setprecision‡
‡setw‡ (non-sticky)

Modified: 2009-03-24T18:55

User: Guest

Check: HTML CSS
Edit History Source
Apply to CSU | Contact CSU | Disclaimer | Equal Opportunity
Colorado State University, Fort Collins, CO 80523 USA
© 2015 Colorado State University
CS Building