How can I write the header file, when I include header file, I can use the function of inside lib.c?
Can this lib.c compile to *.lib wihout any code added?
How to avoid double call of header file?
For example, the library program lib.c
And the header file lib.h
unsigned int factorial(unsigned int n)
The Main program
unsigned int factorial(unsigned int);