Showing posts with label Library. Show all posts
Showing posts with label Library. Show all posts

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>>

I/O Functions

Input and output devices play a key role indata processing. the first phase of processing data is input. Data is accepted in the form of input and output is generated after processing data. C++ language does not facilitate input and output with the help of keywords. Input and output operations are performed with the help of library functions. There are header files which help in performing input/output activities.
Header Files in C++
The list of keywords in C++ does not include functions. However, built in functions are available with C++ library header files. Declarations of function prototypes, classes etc. are provided by header files. The function prototypes are pre-declared before using them in the program. LEARN MORE>>