I'm having a lot of trouble getting my code to compile.
It basically has this structure:
Headers: a.h, b.h, c.h CXX: a.cxx, b.cxx, c.xx
And my main.cpp of course.
The problem is that my classes link each other, ie. a uses something from class b and b uses something from class a.
I know that cxx files should #include their corresponding .h file but I simply cannot get it to work.
The code works if i put it in one huge file but simply won't compile if I use different files like I said above.
Thank you very much.
Edited 5 Years Ago by juanp: n/a