Simple program of C++ with object oriented programming

Just like that C , the C++ program is collection of functions. Below given example contain only one function main().In this program as usual, execution begin it main().Almost programmers have main(). C++ is a free from language with a few expressions the compiler ignores carriage return white space.

Let's begin with let us begin with a simple program of C++ .that print a stream on the screen.