Hi, what is cout? What is it for? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Hi, what is cout? What is it for?

23rd Jan 2016, 1:10 AM
Andres Ned
Andres Ned - avatar
6 Answers
+ 2
Cout is a short for console out which means ( you are telling the compiler that you want to print out the included statements in a new black window - console window) EX: cout >> "Hello World" >> endl; /* that means you are telling the compiler that you want a new window to be opened with (hello world) printed on.*/
26th Jan 2016, 3:16 PM
Ahmed El-Sayed
Ahmed El-Sayed - avatar
+ 1
Cout work is similar as the printf in c.
24th Mar 2016, 5:35 PM
Pintu kumar
Pintu kumar - avatar
0
Cout is for giving out information 🛈 from the program
24th Jan 2016, 9:49 PM
Geoffrey Obuya
Geoffrey Obuya - avatar
0
To output information to the program
16th Feb 2016, 4:56 AM
Fram Rodríguez
Fram Rodríguez - avatar
0
hello Andres "cout" is an instruction which permits you to print a message or a value to the screen.
18th Mar 2016, 12:15 PM
MOUZONG DJAM Andreas
MOUZONG DJAM Andreas - avatar
0
Good morning "cout" in c++ is like "printf" in c or "print" in python, it's main role is to output text to the screen
7th Dec 2018, 5:36 AM
MOUZONG DJAM Andreas
MOUZONG DJAM Andreas - avatar