Sam Groves
				
				
			 
			
	
	
	
		
	
	
			
		
		
			
			
				
- 11
- 0
I have a class Stack with a header file Stack.h which uses up another class with a header file Activity.h
I 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?
				
			I 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?
 
 
		 
 
		