csci3081/repo-zhan4854/exercises/dynamicallocation/array_pointer_test.h

16 lines
236 B
C
Raw Normal View History

2018-01-29 23:24:20 +00:00
#include "duck.h"
class ArrayPointerTest {
public:
ArrayPointerTest(int size=3);
~ArrayPointerTest();
void DisplayContents();
private:
Duck ducks1_[3];
Duck * ducks2_;
Duck * ducks3_[3];
Duck ** ducks4_;
int size_;
};