F
Francesco
Hi,
I'm not able to make a forward reference to a class, so there's something I
don't know... Can you help me?
Here's the example...
/************************************************************
Programma: File: Funzione: Descrizione: Autore:
Ambiente: Dev-C++ 4.9.8.1, Athlon/750 128mb RAM, Windows 98
Note: Revisioni: 16/09/03 11.05
************************************************************/
#include <iostream>
class B;
class A {
public:
B first;
};
class B {
public:
A second;
};
int main() {
system("PAUSE");
return 0;
}
I'm not able to make a forward reference to a class, so there's something I
don't know... Can you help me?
Here's the example...
/************************************************************
Programma: File: Funzione: Descrizione: Autore:
Ambiente: Dev-C++ 4.9.8.1, Athlon/750 128mb RAM, Windows 98
Note: Revisioni: 16/09/03 11.05
************************************************************/
#include <iostream>
class B;
class A {
public:
B first;
};
class B {
public:
A second;
};
int main() {
system("PAUSE");
return 0;
}