What is a Header?
Like Humans computers also doesn't remember many things under a single title. So the main use of the header file is to intimate the program about what are the functions we are going to use then.The Most Common Header Files
There are three commonly used header files.1. #include<stdio.h>
Use : This header file is used to get standard input and to display standard output to the user.
2. #include<conio.h>
Use : This header file is used to keep the input and output constant.
3. #include<stdlib.h>
Use : Used to declare routines like conversions, search and sort operations.
Other Header Files
4. #include<alloc.h>
Use : Used for memory management functions like memory allocation, memory deallocation.
5. #include<assert.h>
Use : Used for asserting debugging macro.
6. #include<bios.h>
Use : Used to declare ROM BIOS routines.
7. #include<ctype.h>
Use : Used for Character operations.
8. #include<dir.h>
Use : Used for working with directories and paths.
9. #include<dos.h>
Use : Used for performing DOS operations.
10. #include<errno.h>
Use : Used for defining mnemonics for error codes.
11. #include<fcntl.h>
Use : Used to define Symbolic constants.
12. #include<float.h>
Use : Contains operations for floating point values.
13. #include<graphics.h>
Use : Used to include graphics functions.
14. #include< io.h>
Use : Used for defining low level inputs and outputs.
15. #include<limits.h>
Use : It contains parameters for functions.
16. #include<math.h>
Use : This header file is used to perform mathematical operations.
17. #include<mem.h>
Use : Used for memory manipulation functions.
18. #include<process.h>
Use : Used for declaring structures and functions.
19. #include<setjmp.h>
Use : Defines a type used by longjmp and setjmp.
20. #include<share.h>
Use : Used for declaring file sharing functions.
21. #include<signal.h>
Use : Used to define constants for signal and raise.
22. #include<stdarg.h>
Use : Used for reading arguments from list.
23. #include<stddef.h>
Use : Defines several common data types.
24. #include<stdiostr.h>
Use : Used to declare C++ version Stream Classes.
25. #include<string.h>
Use : Used to perform various string operations.
26. #include<sys\stat.h>
Use : Used for declaring symbolic constants.
27. #include<sys\timeb.h>
Use : Used to declare timers for functions.
This comment has been removed by a blog administrator.
ReplyDelete