Hi
I want to understand the basic of header files in depth. I googled search and found some information. This page has good information https://en.wikibooks.org/wiki/C_Programming/Preprocessor. header file is file which tells compiler to include code from header file in program. header file contain two essential things: the definitions and prototypes of functions
Different types of header files
Some header files are inbuilt in compiler For example #include<delay.h> and I think, we need to add multiple header files in long program.
I want to design a header file. What information need to design new header files ? How would you design new header file ?
Note : I want to learn skills to design any header file use in embedded system
I want to understand the basic of header files in depth. I googled search and found some information. This page has good information https://en.wikibooks.org/wiki/C_Programming/Preprocessor. header file is file which tells compiler to include code from header file in program. header file contain two essential things: the definitions and prototypes of functions
Different types of header files
Code:
#include<reg51.h>
#include<delay.h>
#include "delay.h"
#include<string.h>
#include "string.h"
............
I want to design a header file. What information need to design new header files ? How would you design new header file ?
Note : I want to learn skills to design any header file use in embedded system
Last edited: