// tabtenn0.h #ifndef TABTENN0_H_ #define TABTENN0_H_ // simple base class class TableTennisPlayer { private: enum {LIM = 20}; char firstname[LIM]; char lastname[LIM]; bool hasTable; public: TableTennisPlayer (const char * fn = "none", const char * ln = "none", bool ht = false); void Name() const; bool HasTable() const { return hasTable; } ; void ResetTable(bool v) { hasTable = v; }; }; #endif