Write a preprocessor command that uses preprocessor directives with header files.
Difficulty level

This exercise is mostly suitable for students
/* PROG.H - A header file with a check to prevent multiple includes! */
#if defined( PROG_H )
/* the file has been included already */
#else
#define PROG_H
/* Header file information goes here... */
#endif
Back to the list of exercises
Looking for a more challenging exercise, try this one !!
