UMBC CMSC 201
Fall '06

CSEE | 201 | 201 F'06 | lectures | news | help

I/O Streams

All input and output is performed with streams.

Here's the concept:

Text streams are sequences of characters that are organized into lines, where each line consists of 0 or more characters and ends with the newline character, '\n'.

When execution begins, three standard streams are connected to the program, automatically.

Some operating systems, including both UNIX and DOS, allow the standard input stream and the standard output stream to be redirected to other devices.

The standard error stream is typically used to print errors.


CSEE | 201 | 201 F'06 | lectures | news | help

Last Modified - Tuesday, 22-Aug-2006 07:14:05 EDT