Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
std::cout is used to write text to screen. std::cout is a global std::ostream.
Different
elements are sent to the stream using the stream out operator, <<.
std::cout is defined in
the header file iostream
and resides is namespace std.
This results in the following output on the screen:
Hello World