Question: #ifndef CONTACTBOOK _ H #define CONTACTBOOK _ H #include #include #include class Contact { public: Contact ( const std::string& name, const std::string& phone ) :
#ifndef CONTACTBOOKH
#define CONTACTBOOKH
#include
#include
#include
class Contact
public:
Contactconst std::string& name, const std::string& phone
: namename phonephone
std::string GetName const return name;
std::string GetPhone const return phone;
private:
std::string name;
std::string phone;
;
class ContactBook
public:
ContactBook : currsize
void Addconst Contact& contact;
void Display const;
Contact Findconst std::string& searchTerm;
private:
static const int MAXCONTACTS ;
Contact contactsMAXCONTACTS;
int currsize;
;
#endif
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
