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.2 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"
2 years ago
PresidentialPardonForm::PresidentialPardonForm(const string target)
: Form("PresidentialPardonForm", 25, 5, target)
{
3 years ago
}
2 years ago
PresidentialPardonForm::~PresidentialPardonForm(void)
{
3 years ago
}
2 years ago
void PresidentialPardonForm::run(void) const
{
cout << _target << "has been pardoned by Zaphod Beeblebrox" << endl;
3 years ago
}