SHARE
TWEET

Untitled

a guest Jun 17th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class Example {
  2. private:
  3. std::string name;
  4. Example::Age variable; //I dont know if this is okay
  5. public:
  6. enum Age{Young,Old};
  7. Example(std::string nam,variable a) : name(nam) {
  8. a=Young; //I dont know if this is okay
  9. }
  10. .....
  11. };
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top