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.

31 lines
1.2 KiB

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