Files
42_INT_09_piscine_cpp/d00/ex01/main.cpp
2022-02-03 16:23:36 +01:00

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
*/