My solution for CPP Modules 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
- cpp_module_09
All of those exercises are compilable with the -std=c++98-flag
, since this was a requirement for this project.
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.
CPP | Concept | Validation |
---|---|---|
CPP_00 | namespaces, classes, accessors/getters, and C++ string manipulation | 100% ✅ |
CPP_01 | Pointers, & File streams | 100% ✅ |
CPP_02 | Orthodox canonical form, Operator overloading & Fixed point numbers | 80% ✅ |
CPP_03 | Inheretence, Multiple inheretence, Polymorphism, Constructor Chaining, Access specifier (Base class & Class members) | 80% ✅ |
CPP_04 | Subtype polymorphism, abstract classes, interfaces, The diamond problem | 80% ✅ |
CPP_05 | Templates, Exception handling, and Operator overloading, Member Function | 100% ✅ |
CPP_06 | Static casting, Dynamic casting, Conversion of scalar types, Serialization and reinterpret casting | 100% ✅ |
CPP_07 | Function templates, and Class templates | 100% ✅ |
CPP_08 | STL & STL containers:(list, vector, map, stack), iterators & iterators adapters, and algorithms | 100% ✅ |
CPP_09 | Same shit as CPP_08 (CPP_08 Part II) | ⏳ ⏳ ⏳ |
Please don't copy paste any code if you are a fellow student.
Feel free to contact me if you have any questions. Thank you!