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.
|
|
|
/* ************************************************************************** */
|
|
|
|
/* */
|
|
|
|
/* ::: :::::::: */
|
|
|
|
/* main.cpp :+: :+: :+: */
|
|
|
|
/* +:+ +:+ +:+ */
|
|
|
|
/* By: narnaud <narnaud@student.42.fr> +#+ +:+ +#+ */
|
|
|
|
/* +#+#+#+#+#+ +#+ */
|
|
|
|
/* Created: 2022/06/24 13:16:27 by narnaud #+# #+# */
|
|
|
|
/* Updated: 2022/06/27 09:40:50 by narnaud ### ########.fr */
|
|
|
|
/* */
|
|
|
|
/* ************************************************************************** */
|
|
|
|
|
|
|
|
#include "Bureaucrat.hpp"
|
|
|
|
#include "Form.hpp"
|
|
|
|
|
|
|
|
int main(void) {
|
|
|
|
Bureaucrat first("first", 1);
|
|
|
|
Bureaucrat mid("midle", 75);
|
|
|
|
Bureaucrat last("last", 150);
|
|
|
|
Form garb("garbage", 75, 75);
|
|
|
|
|
|
|
|
cout << "Bureaucrats: " << first << "/" << mid << "/" << last << endl;
|
|
|
|
cout << "Forms: " << garb << endl << endl;
|
|
|
|
|
|
|
|
last.signForm(garb);
|
|
|
|
mid.signForm(garb);
|
|
|
|
first.signForm(garb);
|
|
|
|
}
|