Being a beginner in c++ coming from a java background ,
I find the inheritance in c++ a bit confusing to implement.
I looked up at tutorials but none seemed to fix my problem .
Im trying to implement an alarm clock and normal clock .
Its a very basic program , heres the code for 3 of the classes , note in my program clock is a superclass of Normal Clock and Normal Clock is a superClass of Alarm Clock.
1) I do not see you including "clock.h" in NormalClock.h and "NormalClock.h" in AlarmClock.h
2) Did you add .cpp files to the project files (if you are using IDE)?