Displays output to stdout, usually the (console's) screen.


C++ uses the cout object defined with the standard namespace of the <iostream> header file.


cout is the name given to the standard output stream stdout.


Used with the << operator to send the specified string to stdout.


Generally closed off with an end of line symbol denoted by endl, and closed with a semi-colon ;


A major difference to C's printf() function.


Compile & Run:

This is just a test string of characters!

Leave a Reply