28 lines
341 B
C++
28 lines
341 B
C++
#include "PhoneBook.class.hpp"
|
|
|
|
# include <iostream>
|
|
# include <string>
|
|
|
|
int main() {
|
|
|
|
std::string cmd;
|
|
|
|
while (1)
|
|
{
|
|
std::getline(std::cin, cmd);
|
|
if (cmd.compare("ADD") == 0)
|
|
std::cout << "it works !" << std::endl;
|
|
}
|
|
|
|
|
|
return 0;
|
|
}
|
|
|
|
/*
|
|
* class PhoneBook :
|
|
* add_contact
|
|
* print_phonebook
|
|
* search_by_index
|
|
* exit
|
|
*/
|