jasminemark
Joined: 25 May 2011 Posts: 39
|
Posted: Fri Feb 17, 2012 4:13 am Post subject: Poster printing London |
|
|
When a C program starts up, the run time automatically opens 3 file handles for it:stdin, stdout and stderr. These really are just file handles, as in FILE *. Normally, stdin is connected to the keyboard, and stdout and stderr are connected to the display console. But if you redirect stdout to a file, then stdout goes to the file, while stderr will still go to the screen.
Poster printing London |
|