ex05 added newline and ex06 done
This commit is contained in:
@@ -14,24 +14,28 @@
|
||||
|
||||
void Harl::debug( void )
|
||||
{
|
||||
std::cout << "[ DEBUG ]" << std::endl;
|
||||
std::cout << "I love having extra bacon for my 7XL-double-cheese-triple-pickle-specialketchup burger. I really do!";
|
||||
std::cout << std::endl;
|
||||
}
|
||||
|
||||
void Harl::info( void )
|
||||
{
|
||||
std::cout << "[ INFO ]" << std::endl;
|
||||
std::cout << "I cannot believe adding extra bacon costs more money. You didn’t put enough bacon in my burger! If you did, I wouldn’t be asking for more!";
|
||||
std::cout << std::endl;
|
||||
}
|
||||
|
||||
void Harl::warning( void )
|
||||
{
|
||||
std::cout << "[ WARNING ]" << std::endl;
|
||||
std::cout << "I think I deserve to have some extra bacon for free. I’ve been coming for years, whereas you started working here just last month.";
|
||||
std::cout << std::endl;
|
||||
}
|
||||
|
||||
void Harl::error( void )
|
||||
{
|
||||
std::cout << "[ ERROR ]" << std::endl;
|
||||
std::cout << "This is unacceptable! I want to speak to the manager now.";
|
||||
std::cout << std::endl;
|
||||
}
|
||||
@@ -50,6 +54,7 @@ void Harl::complain( std::string level )
|
||||
if (level == levels[i])
|
||||
{
|
||||
(this->*funcs[i])();
|
||||
std::cout << std::endl;
|
||||
break ;
|
||||
}
|
||||
i++;
|
||||
|
||||
Reference in New Issue
Block a user