+ 1

Could you please explain it to me in simple sentences

cout is used in combination with the insertion operator. Write the insertion operator as << to insert the data that comes after it into the stream that comes before.

6th Mar 2020, 4:39 AM
Sumit Kumar
Sumit Kumar - avatar
3 odpowiedzi
+ 2
cout << 42; The line above shows how << is used with cout. 42 is the data to insert into the stream, cout, which is used for the output.
6th Mar 2020, 11:16 AM
你知道規則,我也是
你知道規則,我也是 - avatar
+ 1
Cout is used to print data out to the console. Cout comes first followed by <<(the insertion operator). Followed by what you want printed on the screen(e.g Hello world). Cout<<"Hello world;
6th Mar 2020, 9:11 PM
Janice Angella
0
shit brother
8th Mar 2020, 3:59 AM
gustavo fernando villanueva figueroa
gustavo fernando villanueva figueroa - avatar