Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Contact
- {
- public :
- Contact();
- ~Contact();
- const char * Name (void) const {return name;}
- private :
- char *name; // contact name
- };
- class ContactDir
- {
- public :
- ContactDir ( const int maxSize);
- ~ContactDir( void );
- void Insert ( const Contact& c);
- private :
- Contact **contacts;
- int dirSize;
- int maxSize;
- };
Advertisement
Add Comment
Please, Sign In to add comment