d00 ex01 phonebook resolu pbms

This commit is contained in:
Hugo LAMY
2022-02-16 19:41:53 +01:00
parent ae62a6d0d7
commit 1a1074a7c8
7 changed files with 54 additions and 37 deletions

View File

@@ -9,7 +9,7 @@ int main() {
std::string cmd;
PhoneBook YellowPage;
while (1)
while (std::cin)
{
std::cout << std::endl;
std::cout << B_YELLOW "enter a command: ADD / SEARCH / EXIT" << std::endl;