MUstar

IoT C++ 09/14 - MyArray_MyArray.h

Sep 14th, 2017
95
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2.  
  3. class MyArray
  4. {
  5. private:
  6.     int *ptr;
  7.     enum {size = 100};
  8.     int cnt;
  9. public:
  10.     MyArray();
  11.     void append(int num);
  12.     bool delete_(int num);
  13.     void print();
  14. };
RAW Paste Data