Advertisement
MUstar

IoT C++ 09/14 - MyArray_MyArray.h

Sep 14th, 2017
284
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.18 KB | None | 0 0
  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. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement