STRUCTURE OF PROGRAM (part 4)
cout << "I am ready for first programe to learn from tutorial man.i feel it easy and i will enjoy all program";
This line is C++ statement. A statement is a simple or compounds expression that can actually produces some effects. In fact, this statement perform the only action that generates visible effects in our first program.
cout represent the standard output streams in C++, and the meaning of the entire statement is to insert
a sequence of characters (in this case the I am ready for first programe to learn from tutorial man.i feel it easy and i will enjoy all program sequence of characters) into the standard output
stream (which usually is the screen).
cout is declared in the iostream standard files within the std namespace, so that's why we needed to
include that specific file and to declare that we were going to use this specific namespace earlier in our
code.
Notice that the statement end with a semicolon character (;). This character is used to mark the end of
the statement and in fact it must be included at the end of all expression statement in all C++ programs
(one of the most common syntax errors are indeed to forget to include some semicolon after a statement).