Structure of C++
Structure of C++ Line 01 : //my first program in C++ Two slash signs indicate that the rest of the line is a comment inserted by the programmer but which has no effect on the behavior of the program. programmers use them to include short explanations or observations concerning the code or program. in this case, it is a brief introductory description of the program Line 02 : #include<iostream> Lines beginning with a hash sign(#) are directives read interpreted by what is know as the preprocessor. They are special lines interpreted before the compilation of the program itself begins. In this case the directive #include<iostream> instructs the preprocessor to include a section of standard C++ code know as header iostream that allows to perform standard input and output operations, such as writing the output of this program (HELLO WORLD) to the screen. Line 03 : using namespace std; All the elements of the stranded C++ library are declared with in what is ...