Compiling Your first c++ program
Let us start our tour of C++ with a simple program. Here is a simple program which outputs a line of text. Its output is shown in the right column.
// This is my first C++ program
//It prints a line of text
cout << My first C++ program << std::endl;
My first C++ program