Page 1 of 1

About input and output in c++

Posted: Wed Jun 02, 2004 9:20 am
by Masud_cuet0204
What do we mean bystandard input and standard output (stdin or stdout) :roll:

Posted: Thu Nov 25, 2004 3:07 pm
by Heartattack!
Standard input: keyboard.
Standard output: monitor.

For problems that say input is stdin and output stdout, don't fret. Just use scanf or cin or any other method to take input as if someone were typing the input during runtime. Use printf or cout or something similar for output just as you do on your machine. The online judge redirects stdin/stdout according to its own needs. You don't need to worry about that.