You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
1.1 KiB
26 lines
1.1 KiB
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* main.cpp :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: narnaud <narnaud@student.42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2022/06/24 13:16:27 by narnaud #+# #+# */
|
|
/* Updated: 2022/06/24 14:38:36 by narnaud ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include "Bureaucrat.hpp"
|
|
|
|
int main(void)
|
|
{
|
|
try {
|
|
Bureaucrat crat__one("first", 1);
|
|
Bureaucrat crat__two("last", 150);
|
|
Bureaucrat crat__three("trash", 151);
|
|
Bureaucrat crat__four("god", -55);
|
|
}
|
|
catch (std::exception & e) {
|
|
cout << "Issue :" << e.what();
|
|
}
|
|
}
|
|
|