[Univ of Cambridge] [Dept of Engineering]
next up previous contents
Next: Simple I/O Up: More C++ Previous: Exercises

Input/Output

As with C, Input/Output is not part of the language, but support is provided by a library. Most programs need to use #include <iostream>. You may also need #include <fstream> for file I/O, #include <iomanip> for greater control over formatting, and #include <sstream> for I/O to and from strings.



 

Tim Love
2001-07-05