This commit is contained in:
lfirmin
2025-12-17 23:58:30 +01:00
parent 2fef2f8dfc
commit d71a7eb045
11 changed files with 158 additions and 8 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ class AForm
AForm();
AForm(const std::string name, const int grade_si, const int grade_ex);
AForm(const AForm &other);
~AForm();
virtual ~AForm();
AForm &operator=(const AForm &other);
//mem
+9
View File
@@ -0,0 +1,9 @@
_-_
/~~ ~~\
/~~ ~~\
{ }
\ _- -_ /
~ \\ // ~
_- - | | _- _
_ - | | -_
// \\
+2
View File
@@ -23,7 +23,9 @@ int main(void)
RobotomyRequestForm Robo_form("I am a robo form");
Bureaucrat Mr_Robo("Mr_Robo", 45);
Mr_Robo.executeForm(Robo_form);
Mr_Robo.signForm(Robo_form);
Mr_Robo.executeForm(Robo_form);
Mr_Robo.executeForm(Robo_form);