#ifndef PHONEBOOK_H #define PHONEBOOK_H #include #include typedef struct contacts Kontaktdaten; void addContact(Kontaktdaten* person, std::vector *Telefonbuch); void deleteAllContacts(std::vector *Telefonbuch); void printAllContacts(std::vector *Telefonbuch); void saveAllContacts(std::vector *Telefonbuch, std::string *fileName); int exponentiate(int base, int exponent); int intStringToInt(std::string input); void readContactsFromFile(std::vector *Telefonbuch, std::string *fileName); void addFirstSetOfContacts(std::vector * Telefonbuch); void addSecondSetOfContacts(std::vector * Telefonbuch); /* Kontaktdaten * createContact(std::string firstName, std::string lastName, int number) { Kontaktdaten person = new Kontaktdaten; person.firstName = firstName; person.lastName = lastName; person.number = number; return & person; } */ void Aufg3Main(); #endif //PHONEBOOK_H