feat: finishing the exercice 00 of the cpp05
This commit is contained in:
parent
c7a0cde073
commit
19ffc5d295
5 changed files with 107 additions and 8 deletions
|
|
@ -6,12 +6,16 @@
|
|||
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/03/16 14:47:26 by rparodi #+# #+# */
|
||||
/* Updated: 2025/03/16 14:48:29 by rparodi ### ########.fr */
|
||||
/* Updated: 2025/03/16 21:53:58 by rparodi ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include "Bureaucrat.hpp"
|
||||
|
||||
int main(void) {
|
||||
|
||||
try {
|
||||
Bureaucrat b1("Roger", 0);
|
||||
} catch (std::exception & e) {
|
||||
std::cerr << e.what() << std::endl;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue