{"id":29773228,"url":"https://github.com/ricvrdv/cpp-01","last_synced_at":"2025-10-10T00:12:45.396Z","repository":{"id":303893715,"uuid":"1016950734","full_name":"ricvrdv/cpp-01","owner":"ricvrdv","description":"C++ Module 01 - new, delete, references, file manipulation ","archived":false,"fork":false,"pushed_at":"2025-08-13T17:19:08.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-13T19:27:56.427Z","etag":null,"topics":["cplusplus","cpp98","memory-management","oops-in-cpp","pointers-and-references"],"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/ricvrdv.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,"zenodo":null}},"created_at":"2025-07-09T19:30:15.000Z","updated_at":"2025-08-13T17:19:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"2bdb7624-bd04-4e8d-b8ad-a9acc45f2b7d","html_url":"https://github.com/ricvrdv/cpp-01","commit_stats":null,"previous_names":["ricvrdv/cpp-01"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ricvrdv/cpp-01","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricvrdv%2Fcpp-01","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricvrdv%2Fcpp-01/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricvrdv%2Fcpp-01/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricvrdv%2Fcpp-01/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ricvrdv","download_url":"https://codeload.github.com/ricvrdv/cpp-01/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricvrdv%2Fcpp-01/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002374,"owners_count":26083356,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"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":["cplusplus","cpp98","memory-management","oops-in-cpp","pointers-and-references"],"created_at":"2025-07-27T07:14:01.578Z","updated_at":"2025-10-10T00:12:45.391Z","avatar_url":"https://github.com/ricvrdv.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# C++ Module 01\n# Concepts:\n- dynamic memory allocation: `new` and `delete`\n- pointers to members\n- references\n- file manipulation\n- `switch` statements\n\n# ex00\n\nImplemented a `Zombie` class with functions to create and announce zombies, exploring stack vs. heap allocation and object lifetime management.\n\nUsage:\n```\nmake\n```\n```\n./zombie\n```\n\n# ex01\n\nCreated a `zombieHorde()` function that dynamically allocates and initializes multiple zombies in a single block, practicing memory management and cleanup.\n\nUsage:\n```\nmake\n```\n```\n./horde\n```\n\n# ex02\n\nDemonstrated the difference between pointers and references by printing both memory addresses and values of the same string in multiple ways.\n\nUsage:\n```\nmake\n```\n```\n./brain\n```\n\n# ex03\n\nBuilt `Weapon`, `HumanA`, and `HumanB` classes to explore the differences between holding objects by reference vs. by pointer and their effect on object behavior.\n\nUsage:\n```\nmake\n```\n```\n./violence\n```\n\n# ex04\n\nDeveloped a text-replacement program that reads a file, replaces all occurrences of a given string with another, and outputs to a `.replace` file without using `std::string::replace()`.\n\nUsage:\n```\nmake\n```\n```\n./antiSed \u003cfilename\u003e \u003cstring1\u003e \u003cstring2\u003e\n```\n\n# ex05\n\nAutomated a `Harl` class to print preset messages based on severity level using pointers to member functions instead of chained conditionals.\n\nUsage:\n```\nmake\n```\n```\n./harl\n```\n\n# ex06\n\nExtended `Harl` with a filter system to display only messages at or above a given severity level, using a `switch` statement for control flow.\n\nUsage:\n```\nmake\n```\n```\n./harlFilter \u003cLEVEL\u003e\n```\n\n----\n✅ Check out [C++ Module 02](https://github.com/ricvrdv/cpp-02) - function and operator overloading\n\n⏪️ Go back to [C++ Module 00](https://github.com/ricvrdv/cpp-00) - namespaces, classes, member functions, stdio streams, ...\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fricvrdv%2Fcpp-01","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fricvrdv%2Fcpp-01","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fricvrdv%2Fcpp-01/lists"}