Transcription of C++ Input/Output: Streams - Virginia Tech
{{id}} {{{paragraph}}}
Computer Science Dept Va Tech August, 2001 1995-2001 Barnette ND & McQuain WD14. input /OutputIntro Programming in C++C++ input / output : StreamsThe basic data type for I/O in C++ is the stream. C++ incorporates a complex hierarchy of stream types. The most basic stream types are the standard input / output Streams :istream cinbuilt-in input stream variable; by default hooked to keyboardostream coutbuilt-in output stream variable; by default hooked to consoleheader file: <iostream>C++ also supports all the input / output mechanisms that the C language included. However, C++ Streams provide all the input / output capabilities of C, with substantial will exclusively use Streams for input and output of Science Dept Va Tech August, 2001 1995-2001 Barnette ND & McQuain WD24.
This sets up the file streams to read data from a file called "readme.data" and write output to a file called "writeme.data". Computer Science Dept Va Tech August, 2001
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}