final
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
_-_
|
||||
/~~ ~~\
|
||||
/~~ ~~\
|
||||
{ }
|
||||
\ _- -_ /
|
||||
~ \\ // ~
|
||||
_- - | | _- _
|
||||
_ - | | -_
|
||||
// \\
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user