Why cout is used? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why cout is used?

3rd Sep 2016, 3:52 PM
Shriyan Arcot
Shriyan Arcot - avatar
7 Answers
+ 1
cout = console out
5th Sep 2016, 6:02 AM
Vicky Sultan
Vicky Sultan - avatar
0
cout prints to the user, so the user can see a default sentence of the program, the "cin" is for the user to input a character or a number depending on its purpose
4th Sep 2016, 12:02 AM
Daniel Rojas
Daniel Rojas - avatar
0
I guess the c is for console. So you get console input buffer 《cin》and console output buffer《cout》. Note that there is one more output buffer for error messages《cerr》.
4th Sep 2016, 11:16 PM
René Schindhelm
René Schindhelm - avatar
0
It's for printing text, so that the user can see it
4th Oct 2016, 12:49 PM
Filip Brzezicki
Filip Brzezicki - avatar
- 1
its simple.... cout→its c out... means for output... cout if for printing output
4th Sep 2016, 10:36 AM
Vaibhav Kumar
Vaibhav Kumar - avatar
- 1
it is an output function used to display any kind of message or value syntax cout<<"message"; cin>>variable name;
7th Sep 2016, 5:14 AM
vikash
- 2
it is used to get output on the terminal window(output window)
3rd Sep 2016, 3:54 PM
Piyush Singh
Piyush Singh - avatar