diff --git a/ContactManager.h b/ContactManager.h new file mode 100644 index 0000000..c65d6bf --- /dev/null +++ b/ContactManager.h @@ -0,0 +1,20 @@ +#ifndef CONTACTMANAGER_H +#define CONTACTMANAGER_H + +#include +#include +#include "Contact.h" + +class ContactManager { +private: + std::vector contacts; + +public: + void addContact(const std::string& name, const std::string& phone, const std::string& email); + void removeContact(const std::string& name); + void displayContacts(); + void saveToFile(const std::string& filename); + void loadFromFile(const std::string& filename); +}; + +#endif // CONTACTMANAGER_H