Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- class MyArray
- {
- private:
- int *ptr;
- enum {size = 100};
- int cnt;
- public:
- MyArray();
- void append(int num);
- bool delete_(int num);
- void print();
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement