Why cout is used? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок

Why cout is used?

3rd Sep 2016, 3:52 PM
Shriyan Arcot
Shriyan Arcot - avatar
7 ответов
+ 1
cout = console out
5th Sep 2016, 6:02 AM
Vicky Sultan
Vicky Sultan - avatar
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
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
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
- 2
it is used to get output on the terminal window(output window)
3rd Sep 2016, 3:54 PM
Piyush Singh
Piyush Singh - avatar