Header Files

Various library functions are available in C and C++ in the form of header files. A hheader file is a file containing a list of all the functions and structures that will be used by a file ( for C++, classes and methods).
Header files provide function prototypes and declarations for library functions. Data types and constants used with the library functions are also defined in them.

In order to include the required header files in the program, angle brackets '< ' and '>' are used. the angle brackets prompt the C++ compiler to search for the header file in its include directory. LEARN MORE>>

No comments: