// sample code for a set of strings // uses partially filled array // not order preserving // not the greatest // wdg 2009 #include #include #include "StringSet.h" using namespace std; StringSet::StringSet() : count(0), A(new string[MAX_COUNT]) { } StringSet::StringSet( const StringSet &other) : count( other.count), A(new string[MAX_COUNT]) { for(int i=0; i