![]() |
Data Abstraction and Problem Solving with C++Walls and Mirrorsby Frank M. Carrano |
![]() |
Person.hGo to the documentation of this file.00001 00015 class Person : public KeyedItem 00016 { 00017 public: 00018 Person() : KeyedItem() {} 00019 Person(const string& name, 00020 const string& id, 00021 const string& phone) 00022 : KeyedItem(name), idNum(id), 00023 phoneNumber(phone) {} 00024 private: 00025 // Key item is the person's name 00026 string idNum; 00027 string phoneNumber; 00028 //... and other data about the person 00029 }; // end Person |