When and why should I use stdin and stdout? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

When and why should I use stdin and stdout?

I know that there are many tutorials out there but I just don't seem to understand. It would be a huge help if someone could explain it. Thank you

22nd Jun 2017, 7:26 PM
Tanvir Ahmed
Tanvir Ahmed - avatar
3 Answers
+ 3
stdin means standard input, stdout means standard output. So you read data from stdin (e.g. data entered by a user) and you write data to stdout (e.g. user's screen).
28th Jul 2017, 10:00 PM
Eric Prunier
Eric Prunier - avatar
+ 3
stdin stands for standard input. and stdout means standard output. Basically input by users by keyboard or other input medium is stdin. and output to any standard medium such as display is called stdout.
1st Oct 2017, 10:20 AM
Samrat U Zaman
Samrat U Zaman - avatar
+ 1
Thank you guys
21st Oct 2017, 7:10 PM
Tanvir Ahmed
Tanvir Ahmed - avatar