inlude file problem
Posted on 2001-06-15
I have two classes say class1 and class2 in two different files i.e I have for files
Now class1 has to use class2 and vice versa, I cann't include files like, class1.h includes class2.h and class2.h include class1.h, my friend told me to include class1.h in class2.h and just declare class1 before the class2 something like
but it didn't work for me
one more thing how can I write an if statement to check that a specified is already included or not, I know it is some thing like #IF_DEF stuff needs exact syntax.