class SomeClassHere : public AnotherClassHere
{
public:
SomeClassMethod();
virtual ~SomeClassMethod();
private:
//stuff in here
protected:
// some other stuff here
}
What does the colon do here with another class declared after it like that?
SomeClassHere is derived from class AnotherClassHere. AnotherClassHere is the base class. SomeClassHere has access to the public/protected members of AnotherClassHere