Pages

Showing posts with label Predefined Streams. Show all posts
Showing posts with label Predefined Streams. Show all posts

Wednesday, July 13, 2011

Predefined Streams in C and C++

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