Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Example {
- private:
- std::string name;
- Example::Age variable; //I dont know if this is okay
- public:
- enum Age{Young,Old};
- Example(std::string nam,variable a) : name(nam) {
- a=Young; //I dont know if this is okay
- }
- .....
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement