Velpus Captiosus
Well-Known Coder
I have a class
I have a third class
Stack with a header file Stack.h which uses up another class with a header file Activity.hI have a third class
ActivityManager which uses up both the Stack and the Activity class.If I run the program and add in both Activity.h and Stack.h to the #include list I get a compilation error:Activity.h is defined 2 times in the script.How do I solve this issue?