Skip to main content
gamedev.net
🔒 Locked

#include problems...

Started by BenB Apr 20, 2002 at 3:56 PM 0 replies 650+ views
Original Post
BenB
BenB
Hey, I have some major problems with #including files... I have Class A in header a, which uses struct B in header B. Struct also uses Class A. If I put #include a in B and vice versa, it goes mad (Compiling errors - header a won''t know struct B, header B won''t know class a...). What am I supposed to do? Thanks in advance, Ben

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.