Question: Write a contact management application - CRUD (create/read(search)/update/delete) store: name, first, last , address city, zip, phone cell, phone land class UI -> taking input
Write a contact management application - CRUD (create/read(search)/update/delete) store: name, first, last , address city, zip, phone cell, phone land
class UI -> taking input from the user
class Contact ->holding existing content or older contents
class Contact {
public:
Contact(std::string first, std::string& last, Address& a, string& mphone, string&lphone) {
}
};
class Address {
public:
Address(std::string& address, std::string& city, std::string& zip)
}
};
class DB -> taking contact saving it in text file
class DB {
public:
DB() {
}
save(Contact& c);
delete(Contact& c);
update(Contact& c);
Contact search(Contact& c);
};
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
