C and C++
compiler has some predefined streams which indicate some standard devices.
These predefined streams are automatically opened when C/C++ program is
started. The <stdio.h> header file contains the definition of these
predefined streams. Predefined streams used in C and C++ and its meanings are
mentioned below.
Name
|
Meaning
|
stdin
|
Standard
input device
|
stdout
|
Standard
output device
|
stderr
|
Standard
error output device
|
stdaux
|
Standard
auxiliary device
|
stdprn
|
Standard
printer
|