My solution for CPP Module 06 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 closer contact with inheritance for classes:
- ex00: Introduction to static casting and conversion of scalar types
- ex01: Serialization and reinterpret casting
- ex02: Identification of real types of classes via dynamic casting
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 ./convert <some_input_to_convert>
).