/////// File: Name.h /////// #include typedef const char *Cstr; class Name { public: Name() {} // default constructor Name(Cstr l, // last name, up to 20 chars Cstr f, // first name, up to 20 chars char i, // single char middle initial Cstr t); // title name, up to 10 chars Cstr last_name() { return(last); } // retrive last name void last_name(Cstr l) { strcpy(last, l); } // set last name void title(Cstr t) { strcpy(tle, t); } // set title void display(); /* other similar members */ private: enum {SIZE = 20}; char last[SIZE]; char first[SIZE]; char mi; char tle[SIZE/2]; };