I wanna make a class called Human. Then I would like to have a little menu in main that says:
1. Gender
2. Age
3. Hieght
And things like that. What I need help with is the making of the class, I can make a menu to access whats in the class easily. The only class I have made is the one in the tutorial on this site. Ive only modified it a little. Can someone explain to me what it would look like?
Thats just what I know about classes...well their basic structure anyways. As you can tell, I have no clue where things would go.Code:class Human{ public: Human(); ~Human(); // Im guessing you would put something like void gender(); here // Along with int feMale(); meaing female or male...I dont know. Something like // that is my guess. protected: // What would go here? private: // Would there be anything here? }; // Lol, no clue what would go here either...im such a noob.