Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

We can solve the problem of including a header file twice by defining a unique preprocessor instruction constant that if it is encountered we do not process the body of the header file, i.e.:

#ifndef SOME_ARBITRARY_UNIQUE_CODE
#define SOME_ARBITRARY_UNIQUE_CODE
//.... body of header file goes here.
#endif // end of the block which started at line 2
video9409853581.mp4
  • No labels