{"id":21933161,"url":"https://github.com/link-wolf/42-piscine_cpp","last_synced_at":"2026-05-06T05:45:19.080Z","repository":{"id":47261203,"uuid":"515896870","full_name":"Link-Wolf/42-Piscine_CPP","owner":"Link-Wolf","description":"42 project - 9 progressive C++ projects to learn OOP","archived":false,"fork":false,"pushed_at":"2024-09-25T13:40:11.000Z","size":361,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-27T12:49:39.434Z","etag":null,"topics":["42","42born2code","42school","cpp","macos"],"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/Link-Wolf.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":"2022-07-20T08:27:34.000Z","updated_at":"2024-09-25T13:40:14.000Z","dependencies_parsed_at":"2025-01-27T12:54:30.958Z","dependency_job_id":null,"html_url":"https://github.com/Link-Wolf/42-Piscine_CPP","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Link-Wolf%2F42-Piscine_CPP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Link-Wolf%2F42-Piscine_CPP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Link-Wolf%2F42-Piscine_CPP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Link-Wolf%2F42-Piscine_CPP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Link-Wolf","download_url":"https://codeload.github.com/Link-Wolf/42-Piscine_CPP/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244960938,"owners_count":20538905,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["42","42born2code","42school","cpp","macos"],"created_at":"2024-11-29T00:08:38.059Z","updated_at":"2026-05-06T05:45:14.035Z","avatar_url":"https://github.com/Link-Wolf.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv id=\"top\"\u003e\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n\t\u003ca href=\"https://github.com/Link-Wolf/42-Piscine_CPP\" title=\"Go to GitHub repo\"\u003e\u003cimg src=\"https://img.shields.io/static/v1?label=Link-Wolf\u0026message=42-Piscine_CPP\u0026color=blue\u0026logo=github\u0026style=for-the-badge\" alt=\"Link-Wolf - 42-Piscine_CPP\"\u003e\u003c/a\u003e\n\t\u003ca href=\"https://\"\u003e\u003cimg src=\"https://img.shields.io/badge/42_grade-100_%2F_100-2ea44f?style=for-the-badge\" alt=\"42 grade - 125 / 100\"\u003e\u003c/a\u003e\n\t\u003ca href=\"https://\"\u003e\u003cimg src=\"https://img.shields.io/badge/Year-2022-ffad9b?style=for-the-badge\" alt=\"Year - 2022\"\u003e\u003c/a\u003e\n\t\u003ca href=\"https://github.com/Link-Wolf/42-Piscine_CPP/stargazers\"\u003e\u003cimg src=\"https://img.shields.io/github/stars/Link-Wolf/42-Piscine_CPP?style=for-the-badge\u0026color=yellow\" alt=\"stars - 42-Piscine_CPP\"\u003e\u003c/a\u003e\n\t\u003ca href=\"https://github.com/Link-Wolf/42-Piscine_CPP/network/members\"\u003e\u003cimg src=\"https://img.shields.io/github/forks/Link-Wolf/42-Piscine_CPP?style=for-the-badge\u0026color=lightgray\" alt=\"forks - 42-Piscine_CPP\"\u003e\u003c/a\u003e\n\t\u003ca href=\"https://github.com/Link-Wolf/42-Piscine_CPP/issues\"\u003e\u003cimg src=\"https://img.shields.io/github/issues/Link-Wolf/42-Piscine_CPP?style=for-the-badge\u0026color=orange\" alt=\"issues - 42-Piscine_CPP\"\u003e\u003c/a\u003e\n\t\u003ca href=\"https://www.apple.com/macos/\" title=\"Go to Apple homepage\"\u003e\u003cimg src=\"https://img.shields.io/badge/OS-macOS-blue?logo=apple\u0026logoColor=white\u0026style=for-the-badge\u0026color=9cf\" alt=\"OS - macOS\"\u003e\u003c/a\u003e\n\u003c/div\u003e\n\n\u003c!-- PROJECT LOGO --\u003e\n\u003cbr /\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ca\u003e\n    \u003cimg src=\"https://www.42mulhouse.fr/wp-content/uploads/2022/06/logo-42-Mulhouse-white.svg\" alt=\"Logo\" width=\"192\" height=\"80\"\u003e\n  \u003c/a\u003e\n\n  \u003ch3 align=\"center\"\u003e42-Piscine_CPP\u003c/h3\u003e\n\n  \u003cp align=\"center\"\u003e\n\t  \u003cem\u003eI’ve never thought i would miss C\u003c/em\u003e\u003cbr/\u003e\n\tIntroduction to \u003cb\u003eO\u003c/b\u003ebject-\u003cb\u003eO\u003c/b\u003eriented \u003cb\u003eP\u003c/b\u003erogramming\u003c/b\u003e\n    \u003cbr /\u003e\n    \u003cbr /\u003e\n    \u003ca href=\"https://github.com/Link-Wolf/42-Piscine_CPP/issues\"\u003eReport Bug\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/Link-Wolf/42-Piscine_CPP/issues\"\u003eRequest Feature\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n\u003c!-- TABLE OF CONTENTS --\u003e\n\u003cdetails\u003e\n  \u003csummary\u003eTable of Contents\u003c/summary\u003e\n  \u003col\u003e\n    \u003cli\u003e\n      \u003ca href=\"#about-the-project\"\u003eAbout The Project\u003c/a\u003e\n    \u003c/li\u003e\n    \u003cli\u003e\n      \u003ca href=\"#getting-started\"\u003eGetting Started\u003c/a\u003e\n      \u003cul\u003e\n        \u003cli\u003e\u003ca href=\"#prerequisites\"\u003ePrerequisites\u003c/a\u003e\u003c/li\u003e\n        \u003cli\u003e\u003ca href=\"#installation\"\u003eInstallation\u003c/a\u003e\u003c/li\u003e\n      \u003c/ul\u003e\n    \u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#usage\"\u003eUsage\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#roadmap\"\u003eRoadmap\u003c/a\u003e\u003c/li\u003e\n  \u003c/ol\u003e\n\u003c/details\u003e\n\n\u003c!-- ABOUT THE PROJECT --\u003e\n\n## About The Project\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca\u003e\n    \u003cimg src=\"assets/cpp.png\" alt=\"cpp logo\"\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\u003c/br\u003e\n\nThere are 9 different small C++ projects which aim to teach us all basic C++ concepts step by step\u003c/br\u003e\nFor this projects, the code should comply with C++98 standard (compile with `-std=c++98` flag)\u003c/br\u003e\nSo C++11 and `Boost` libraries are forbidden, as well as `*printf()`, `*alloc()` and `free()` functions to use as much as possible the C++-ish versions of the C functions\n\nHere are all the C++ concepts discussed :\n\n-   Namespaces, classes, member functions, `stdio` streams, static, const\n-   Memory allocation, pointers to members, references, `switch` statement\n-   Polymorphism, operator overloading and canonical form\n-   Inheritance\n-   Polymorphism by sub-typing, abstract classes, interfaces\n-   Exceptions\n-   C++ casts\n-   Templates\n-   Containers templates, iterators, algorithms\n\n\u003c!-- GETTING STARTED --\u003e\n\n## Getting Started\n\nBecause they're simple C++ programs, there isn't much to say here\n\n### Prerequisites\n\nHaving a C++ compiler like c++\n\n### Installation\n\n1. Clone the repo\n    ```sh\n    git clone https://github.com/Link-Wolf/42-Piscine_CPP.git\n    ```\n2. Compile one of the exercice, in one of the sub-projects\n    ```sh\n    cd 42-Piscine_CPP/Cpp0X/exXX; make\n    ```\n3. Execute the program\n    ```sh\n    ./exXX\n    ```\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- USAGE EXAMPLES --\u003e\n\n## Usage\n\nTest differents exercices in differents sub-projects and have fun..i guess ?\n\n#### Example\n\n```sh\n   your_terminal$  ./ex01\n```\n\n#### Output\n\n```\n\t\u003c May the Bureaucratie (and form) artificial nightmare begin \u003e\n\n\tMichelle, bureaucrat grade 129\n\tMichelle, bureaucrat grade 129 couldn't sign Form Inscription au cours de B.D.S.M. (Big Data Security Managment), with grade 100 required to be signed and grade 100 required to be executed with the following signed status : 0 because GradeTooLowExeption : Grade too low :(\n\tGradeTooLowExeption : Grade too low :(\n\n\tBoB, bureaucrat grade 1\n\tBoB, bureaucrat grade 1 signed Form Creation du cours de Twerk Spacial, with grade 100 required to be signed and grade 100 required to be executed with the following signed status : 1\n\tForm Creation du cour de Twerk Spacial, with grade 100 required to be signed and grade 100 required to be executed with the following signed status : 1\n\n\tForm Default, with grade 150 required to be signed and grade 150 required to be executed with the following signed status : 0\n\tGradeTooLowExeption : Grade too low :(\n```\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- ROADMAP --\u003e\n\n## Roadmap\n\n-   [ ] Make a better and more detailed readme (for each sub-project ?)\n\nSee the [open issues](https://github.com/Link-Wolf/42-Piscine_CPP/issues) for a full list of proposed features (and known issues).\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flink-wolf%2F42-piscine_cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flink-wolf%2F42-piscine_cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flink-wolf%2F42-piscine_cpp/lists"}