Page t036, go to NEXT, PREVIOUS, INDEX

Header Files


In a large program, it is possible that a header file might get included twice

Use the C preprocessor to avoid double inclusion

      #ifndef COULOMBSLAW_H
      #define COULOMBSLAW_H
      extern double CoulombsLaw (double q1, double q2, double r);
      #endif /* COULOMBSLAW_H */

C Course, 21-jan-1997, Peter Klok, pfk@hef.kun.nl