#ifndef _CHARARRAY_H_ #define _CHARARRAY_H_ #include "mystring.h" class CharArray { public: // operations supported by CharArray CharArray( int size = 12 ); ~CharArray(); // return the value at location index char get_value(int index); // set the value at location index void set_value(int index, char value); protected: void checkBounds(int index); protected: char *data; int size; }; #endif