Author: Dann Corbit
Date: 11:00:18 03/16/04
Go up one level in this thread
This is a violation of the language standard for both C and C++: #ifndef _CWINBOARD_H_ #define _CWINBOARD_H_ You are not allowed to use an underscore followed by a capital letter. That belongs to the implementation's namespace. People see the system header files using this technique (and it is a good one). But you cannot use the same format. I would probably do something like this: #ifndef CWINBOARD_H_INCLUDED #define CWINBOARD_H_INCLUDED // stuff to become idempotent goes here ... #endif /* CWINBOARD_H_INCLUDED */
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.