|
>sometimes defining a constant without a value isn't a hot idea
Only when working with legacy code and very old compilers. Any compiler that correctly supports ISO C89 should have no trouble with it.
>Obviously, don't use _HEADER_FILE_H_ as the name of your constant, but
>something more directly related to what you're working on
Don't use a name with a leading underscore for this use either, as that invades the implementation's name space.
|