I know second constant keyword tells function is constant
class Person{ char *name; int age; public: const char* GetName() const; int GetAge() const; };
Aucun commentaire:
Enregistrer un commentaire