Heya!
I have Class A that uses a variable of Class B and Class B uses a variable of Class A
I'm having issues on how to include them in such a way that I don't get errors. I tried using
And I did the same for Class B and tried to include them in each other's file but that didn't solve the problem.Code:#ifndef class_a #define ... #endif
Does anyone know a fix for this?
Thanks!
Lang


Reply With Quote


Bookmarks