+ 3

What does " cout " mean ?

C++

31st Aug 2018, 6:36 PM
Abdelhaq
Abdelhaq - avatar
4 Respostas
+ 7
Ace , I thought 'cout' is the short of 'console output' ?
31st Aug 2018, 11:18 PM
Nyakotey🇬🇭🎹
Nyakotey🇬🇭🎹 - avatar
+ 6
cout is used to write something to the console. Example: cout << "Hello world! "; will print "Hello world" in the console
31st Aug 2018, 7:10 PM
troyan
troyan - avatar
+ 4
Ace oh ok thanks
31st Aug 2018, 11:24 PM
Nyakotey🇬🇭🎹
Nyakotey🇬🇭🎹 - avatar
+ 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
7th Oct 2018, 11:45 PM
Kirk Schafer
Kirk Schafer - avatar