King inherits Piece which has enum containing Root enum. I wonder which the compiler takes when you use "Rook *r".
May change the enum say it says instead ID_Rook, etc to prevent collisions with classes of the same name.
King inherits Piece which has enum containing Root enum. I wonder which the compiler takes when you use "Rook *r".
May change the enum say it says instead ID_Rook, etc to prevent collisions with classes of the same name.
Bookmarks