Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef STATICINTARRAY_H
- #define STATICINTARRAY_H
- class StaticIntArray
- {
- public:
- StaticIntArray();
- void output();
- int get_size(int array[]);
- friend StaticIntArray add(const int& value);
- private:
- static const int CAPACITY=20;
- int array[CAPACITY];
- int itemCount;
- };
- #endif // STATICINTARRAY_H
Add Comment
Please, Sign In to add comment