StoneHaos

lib.h

Mar 5th, 2020
144
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #define sw_name 0
  2. #define sw_type 1
  3. #define sw_author 2
  4.  
  5. class Software {
  6. private:
  7.     string name, type, author;
  8. public:
  9.     Software();
  10.     Software(string name, string type, string author);
  11.     string get(int var);
  12.     void set(int var, string value);
  13.     void print();
  14.     ~Software() {}
  15. };
RAW Paste Data