I know I was sometimes WAY OFF in the networking thing - (never really did the udp thing yet - but that's a favorite thread of mine now)
And I'm not sure - how much you have done yet with mixing multiple files into one project like the replies explain, but I personally have had a heck of a time (more than once) getting circular references to compile corectly.
Each include file I have has the
#pragma once directive, and sometimes I have to put an empty class declaration high up in the code - so that two classes are arware of each other:
class MyClass2;
class 1{
MyClass2 *Class2;
};
class 2{
MyClass1 *Class1;
};