{"id":15047171,"url":"https://github.com/raveriss/cpp04","last_synced_at":"2026-04-06T06:32:32.669Z","repository":{"id":232443942,"uuid":"772505742","full_name":"raveriss/cpp04","owner":"raveriss","description":"C++98 exercises on subtype polymorphism, abstract classes, and interfaces, demonstrating advanced object-oriented programming techniques.","archived":false,"fork":false,"pushed_at":"2024-05-21T21:23:01.000Z","size":3271,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-02T16:43:44.364Z","etag":null,"topics":["class-abstraction","cpp","cpp98","ecole42","educational-project","inheritance","interfaces","object-oriented-programming","polymorphism","software-engineering"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/raveriss.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-15T10:23:02.000Z","updated_at":"2024-05-21T21:23:06.000Z","dependencies_parsed_at":"2024-05-05T23:25:38.625Z","dependency_job_id":"2b9e6761-00e9-4c72-b013-048e43e79c7c","html_url":"https://github.com/raveriss/cpp04","commit_stats":null,"previous_names":["raveriss/cpp04"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/raveriss/cpp04","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raveriss%2Fcpp04","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raveriss%2Fcpp04/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raveriss%2Fcpp04/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raveriss%2Fcpp04/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raveriss","download_url":"https://codeload.github.com/raveriss/cpp04/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raveriss%2Fcpp04/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31463014,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"online","status_checked_at":"2026-04-06T02:00:07.287Z","response_time":112,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["class-abstraction","cpp","cpp98","ecole42","educational-project","inheritance","interfaces","object-oriented-programming","polymorphism","software-engineering"],"created_at":"2024-09-24T20:55:04.350Z","updated_at":"2026-04-06T06:32:32.645Z","avatar_url":"https://github.com/raveriss.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **Project CPP04 - École 42 | Paris**\n\n## Introduction\nCPP04 dives into advanced C++ concepts such as subtype polymorphism, abstract classes, and interfaces. The exercises are designed to provide practical experience in using these object-oriented programming techniques in compliance with the C++98 standard.\n\n## Project Structure\nThis module consists of a series of exercises that build on each other, illustrating different aspects of C++ inheritance and polymorphism:\n\n### Exercise 00: Polymorphism\n- **Directory:** `ex00/`\n- **Files to submit:**\n  - `Makefile`\n  - `main.cpp`\n  - Various class implementations (`*.cpp`, `*.h`, `*.hpp`)\n\n#### Functionality\nIntroduces basic polymorphism through the implementation of `Animal`, `Dog`, and `Cat` classes, with animals exhibiting behavior (making sounds) specific to their types.\n\n### Exercise 01: I Don't Want to Set the World on Fire\n- **Directory:** `ex01/`\n- **Files to submit:**\n  - All files from Exercise 00 plus\n  - Extended classes (`*.cpp`, `*.h`, `*.hpp`)\n\n#### Functionality\nExpands upon the base classes by introducing a `Brain` class, exploring deep copying and dynamic memory management.\n\n### Exercise 02: Abstract Class\n- **Directory:** `ex02/`\n- **Files to submit:**\n  - All files from Exercise 01 plus\n  - Modifications to make `Animal` an abstract class\n\n#### Functionality\nTransforms the `Animal` class into a true abstract class to prevent instantiation and ensures that subclasses provide specific implementations for virtual functions.\n\n### Exercise 03: Interfaces and Recap\n- **Directory:** `ex03/`\n- **Files to submit:**\n  - `Makefile`\n  - `main.cpp`\n  - Comprehensive implementations (`*.cpp`, `*.h`, `*.hpp`)\n\n#### Functionality\nImplementation of purely abstract classes known as interfaces in C++, using them to enforce class structures and behaviors in derived classes.\n\n## Compilation and Execution\nNavigate to the specific exercise directory and use the `make` command to compile the projects. Each executable can be run directly to demonstrate the functionalities implemented.\n\n## Ressources Utilisées\n- [Apprenez à programmer en C++ sur OpenClassrooms](https://openclassrooms.com/fr/courses/1894236-apprenez-a-programmer-en-c)\n- [Programmez en orienté objet avec C++ sur OpenClassrooms](https://openclassrooms.com/fr/courses/7137751-programmez-en-oriente-objet-avec-c)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraveriss%2Fcpp04","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraveriss%2Fcpp04","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraveriss%2Fcpp04/lists"}