+ 3
What does " cout " mean ?
C++
4 Respostas
+ 7
Ace , I thought 'cout' is the short of 'console output' ?
+ 6
cout is used to write something to the console. Example:
cout << "Hello world! ";
will print "Hello world" in the console
+ 4
Ace oh ok thanks
+ 1
Adding here since I've linked a dup back here:
http://www.stroustrup.com/bs_faq2.html#cout
' "cout" is pronounced "see-out". The "c" stands for "character" because iostreams map values to and from byte (char) representations.'
-- Bjarne Stroustrup