Hi.. I'm wondering, is there a correct way of writing header file..?
I look at some of the header files that are written, and tried to modify and compile a few..
An example is i open up C18's original delays.h. The first 2 lines are
When I deleted the #define line, it still compile and run. Even if I replace "__DELAYS_H" with anything, it will still compile and run.. What does the 2 line mean and what is the reason of putting it there..?
Please advice.. thanks..
I look at some of the header files that are written, and tried to modify and compile a few..
An example is i open up C18's original delays.h. The first 2 lines are
Code:
#ifndef __DELAYS_H
#define __DELAYS_H
Please advice.. thanks..