Each header file should be guarded by an internal #include guard to avoid redefinitions in case it is included multiple times. For example, a header file foo.h should follow the general form:
#ifndef FOO_H_INCLUDED_
#define FOO_H_INCLUDED_
// ... contents of the file ...
#endif
You are currently reading a PREVIEW of this book.
Get instant access to over
$1 million worth of books and videos.