First C++ Program
A Hello World Program Header Files C++ by default has no functions but only few valid statements. To use various functions, we want to include a header file which carry few of the functions. If we do not include any header file and use any of the functions that is part of the particular header file, the compiler shows an ERROR. Eg: <iostream.h> *Refer to list of Header files Comments The piece of code ignored by the compiler is known as comment. The Different type of comments are: Single line comments: The line of code beginning with // is ignored by the compiler. Multiple line comments: The part of code enclosed between /* and */ are ignored by the compiler even after it comprises more than a single line. See it all in a video: