-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
28 lines (25 loc) · 1.14 KB
/
Copy pathmain.cpp
File metadata and controls
28 lines (25 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.cpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: tamehri <tamehri@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/05/10 17:47:44 by tamehri #+# #+# */
/* Updated: 2024/05/15 10:59:10 by tamehri ### ########.fr */
/* */
/* ************************************************************************** */
#include "Harl.hpp"
int main( void ) {
std::string input;
Harl harl;
system("clear");
do {
std::cout << "_";
std::cin >> input;
if (std::cin.fail() || std::cin.eof() || !input.compare("EXIT"))
break ;
harl.complain( input );
} while (true);
return 0;
}