42/CPP_Module_03
13 months agoMove some functions of OCF to private
Lukas Jiriste [Thu, 24 Oct 2024 08:03:17 +0000 (10:03 +0200)]
Move some functions of OCF to private

I was not sure whether the Orthodox Canonical Form dictates that the 4
functions be defined so I defined to be sure even though I did not think
it makes sense for Claptrap to have a copy constructor and assignment or
even a default constructor.
I learned that the methods only need to be present (in OCF), but need
not be usable. In C++11 I would delete the methods, in C++98 I have to
place the declaration inside private.

13 months agoAdd solution to ex02
Lukas Jiriste [Fri, 18 Oct 2024 10:44:59 +0000 (12:44 +0200)]
Add solution to ex02

13 months agoAdd guardGate, fix typo in var
Lukas Jiriste [Fri, 18 Oct 2024 10:28:09 +0000 (12:28 +0200)]
Add guardGate, fix typo in var

13 months agoAdd solution to ex01
Lukas Jiriste [Fri, 18 Oct 2024 10:21:42 +0000 (12:21 +0200)]
Add solution to ex01

13 months agoAdd Makefile to ex00
Lukas Jiriste [Fri, 18 Oct 2024 08:15:54 +0000 (10:15 +0200)]
Add Makefile to ex00

13 months agoChange the message for dead taking damage
Lukas Jiriste [Fri, 18 Oct 2024 08:10:05 +0000 (10:10 +0200)]
Change the message for dead taking damage

13 months agoFix death detection durring getting attacked
Lukas Jiriste [Fri, 18 Oct 2024 07:59:52 +0000 (09:59 +0200)]
Fix death detection durring getting attacked

13 months agoAdd main to ex00
Lukas Jiriste [Fri, 18 Oct 2024 07:59:24 +0000 (09:59 +0200)]
Add main to ex00

13 months agoAdd ClapTrap class for ex00
Lukas Jiriste [Fri, 18 Oct 2024 07:42:32 +0000 (09:42 +0200)]
Add ClapTrap class for ex00