c++ – How do I access a member function in an object declared in a base class from a derived class?

I have a base class called CTD that instantiates a singleton real time clock (RTC) object. The RTC is a singleton because it’s an embedded system with only 1 RTC and several other classes need to get time data from the RTC. I have a derived singleton class called CTD1 that inherits CTD. Again, CTD1 … Read more