Is there anyway to declare an object of a class before the class is created in C++? I ask because I am trying to use two classes, the first needs to have an instance of the sec
Is this close to what you want: The first class contains the second class, but the second class (that is to be created first) just has a reference to the first class?