what is stdin and its friends?
-
everybody knows what is the meaning of stdin, stdout, stderr, stdaux, and stdprm? i just know those are standard input device, standard out device, and so on ... but i don't have any idea(i don't understand) about standard input device, and its friends. can somebody explain to me? thousands thanx:) >>when someone know more and more, they will feel they have weakness<<
-
everybody knows what is the meaning of stdin, stdout, stderr, stdaux, and stdprm? i just know those are standard input device, standard out device, and so on ... but i don't have any idea(i don't understand) about standard input device, and its friends. can somebody explain to me? thousands thanx:) >>when someone know more and more, they will feel they have weakness<<
They are io-streams that are opened by the runtime lib for you.
Stdin
is by connected to the console by default (but may be connected to some file with '<' on the command line.Stdout
is connected to to a console window on the screen by default, but can be redirected to a file with '>' on the command line.Stderr
is by default connected likestdin
, but can not be redirected. I hope this could help you a bit.
My opinions may have changed, but not the fact that I am right.
-
everybody knows what is the meaning of stdin, stdout, stderr, stdaux, and stdprm? i just know those are standard input device, standard out device, and so on ... but i don't have any idea(i don't understand) about standard input device, and its friends. can somebody explain to me? thousands thanx:) >>when someone know more and more, they will feel they have weakness<<
Those are just streams! just like any files streams, memory streams,... You should find all the information you need in the MSDN library :)
A student knows little about a lot. A professor knows a lot about little. I know everything about nothing.