csci3081/repo-zhan4854/exercises/dynamicallocation/array_pointer_test.h
Michael Zhang 1ba4536588
f
2018-01-29 17:24:20 -06:00

15 lines
236 B
C++

#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_;
};