Example:
class foo
{
public:
void DoNothing()
{
cfee.AddNothing();
}
};
class fee
{
public:
void AddNothing()
{
int a = 0;
a += 1;
}
}cfee;
Is there a way to call a function in a instance of a class that was declared after the creation of the first class?
It has become a hassle to have 2 classes interact since one always comes before the other.