Multiple inheritance
In C++ it is perfectly possible that a class inherits members from more than one class. This is done by simply separating the different base classes with commas in the derived class declaration. For example, if we had a specific class to print on screen (COutput) and we wanted our classes CRectangle and CTriangle to also inherit its members in addition to those of CPolygon we could write:
class CRectangle: public CPolygon, public COutput;
class CTriangle: public CPolygon, public COutput;
"quoted from outside source"
So ,
":" means that GameTime inherits M_cycle and (
",") M_stopped ...
P.S. What does US flag in Your profile means ??? Just out of curiosity ...
Edit : Solution 1 is probably what You are after, as I was thinkin of classes and You stated clearly it was the function ..