feat(ex06): it works
This commit is contained in:
parent
3fa6069da8
commit
bf61ec6e5a
5 changed files with 146 additions and 0 deletions
12
ex06/main.cpp
Normal file
12
ex06/main.cpp
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#include "Harl.hpp"
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
std::string level;
|
||||
if (argc != 2)
|
||||
level = "invalid";
|
||||
else
|
||||
level = argv[1];
|
||||
Harl harl;
|
||||
harl.complain(level);
|
||||
return 0;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue