My solution for CPP Module 03 of the Common core of 42 school.
- CPP-Module-00
- CPP-Module-01
- CPP-Module-02
- CPP-Module-03
- CPP-Module-04
- CPP-Module-05
- CPP-Module-06
- CPP-Module-07
- CPP-Module-08
The Scope of this Module was to get to know C++ further and come in contact with inheritance for classes:
- ex00: creation of the base class to inherit from
- ex01: inherits from base class and adds new values to the attributes as well as a new function
- ex02: inherits from base class and adds new values to the attributes as well as a new function
- ex03: the diaond problem: inherits some attributes from ex02 and some attributes from ex01 and adds an extra function to show its relation to ex00
All of those exercises are compilable with the -std=c++98-flag
, since this was a requirement for this project.
All exercises where compiled and tested on macOS Catalina 10.15.7
and Ubuntu 20.04.4 LTS
.
All exercises can be compiled from the root of the exercise with make
, make all
or make re
.
All exercises have a main function to demonstrate all the abilities of the subject.
After that, run the created executable like ./executable_to_run
(ie. ex00 ./ClapTrap
).