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.

28 lines
1.3 KiB

3 years ago
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* PresidentialPardonForm.cpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: narnaud <narnaud@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/06/27 10:18:34 by narnaud #+# #+# */
/* Updated: 2022/06/27 14:43:58 by narnaud ### ########.fr */
/* */
/* ************************************************************************** */
#include "PresidentialPardonForm.hpp"
PresidentialPardonForm::PresidentialPardonForm (const string target): Form("PresidentialPardonForm", 25, 5, target) {
cout << "PresidentialPardonForm parameter constructor called" << endl;
}
PresidentialPardonForm::~PresidentialPardonForm (void) {
cout << "PresidentialPardonForm default destructor called" << endl;
}
void PresidentialPardonForm::run(void) const {
cout << _target << "has been pardoned by Zaphod Beeblebrox" << endl;
}