How can I announce a Class before it is declared?
I think I need something like a class prototype.
Class First
{
public:
int Method1(Second* second); // Error: Undefined class Second
private:
int Attribute1;
}
Class Second
{
public:
int Method1(First* first);
private:
int Attribute2;
}
Thanks in advance.