+ 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.
3 Answers
+ 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.
+ 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;
0
shit brother