Skip to content

somaya-Hassoune/cpp-module-00-04

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“˜ CPP00 β†’ CPP04

This repository contains my solutions for the C++ modules 00 to 04 from the 42 Network curriculum.

🎯 Objective

The goal of these modules is to learn the fundamentals of C++ programming, including:

Object-Oriented Programming (OOP) Classes and objects Encapsulation Inheritance Polymorphism Memory management Operator overloading Abstract classes and interfaces

πŸ“‚ Structure

Each module is organized in its own folder:

CPP00/ CPP01/ CPP02/ CPP03/ CPP04/

Each folder contains:

Exercises (ex00, ex01, etc.) Source files (.cpp, .hpp) Makefile (for compilation) πŸ› οΈ Compilation

To compile any exercise:

make

To clean compiled files:

make clean

To remove everything:

make fclean πŸš€ How to Run

After compiling:

./program_name 🧠 Topics Covered

πŸ“¦ CPP00

Namespaces Classes and objects Member functions this pointer Streams (iostream)

πŸ“¦ CPP01

Memory allocation (new / delete) References Pointers File streams

πŸ“¦ CPP02

Orthodox Canonical Form Operator overloading Fixed-point numbers

πŸ“¦ CPP03

Inheritance Virtual functions Multiple inheritance

πŸ“¦ CPP04

Polymorphism Abstract classes Interfaces Deep vs shallow copy

🧩 Skills Gained Strong understanding of C++ OOP principles Writing clean and modular code Managing memory safely Understanding class relationships Improving problem-solving skills

πŸ‘©β€πŸ’» Author

somaya-Hassoune

Student at 1337 (42 Network)

πŸ“Œ Notes This project follows the 42 Norm. Code is written in C++98 standard. No STL (depending on the module requirements). Focus on learning and understanding concepts.

⭐ Feel free to explore the code and learn from it!

Releases

No releases published

Packages

 
 
 

Contributors