{"id":22267738,"url":"https://github.com/addleonel/cpp-fundamentals","last_synced_at":"2026-05-16T18:03:35.485Z","repository":{"id":44761015,"uuid":"392841515","full_name":"addleonel/cpp-fundamentals","owner":"addleonel","description":"C/C++ fundamentals topics","archived":false,"fork":false,"pushed_at":"2025-01-05T22:24:24.000Z","size":461,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-18T15:52:24.426Z","etag":null,"topics":["basics","c","cpp","fundamentals"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/addleonel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2021-08-04T22:41:27.000Z","updated_at":"2025-01-05T22:24:27.000Z","dependencies_parsed_at":"2025-03-25T14:43:29.787Z","dependency_job_id":"c69dd2b5-904a-46fc-a3e8-787953998fda","html_url":"https://github.com/addleonel/cpp-fundamentals","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/addleonel/cpp-fundamentals","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/addleonel%2Fcpp-fundamentals","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/addleonel%2Fcpp-fundamentals/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/addleonel%2Fcpp-fundamentals/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/addleonel%2Fcpp-fundamentals/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/addleonel","download_url":"https://codeload.github.com/addleonel/cpp-fundamentals/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/addleonel%2Fcpp-fundamentals/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273658559,"owners_count":25145303,"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-09-04T02:00:08.968Z","response_time":61,"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":["basics","c","cpp","fundamentals"],"created_at":"2024-12-03T11:08:37.895Z","updated_at":"2026-05-16T18:03:30.447Z","avatar_url":"https://github.com/addleonel.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"## C++ Fundamentals\n\n\u003e C++ is a general-purpose programming language, is considered as \"C\" with classes. C++ has object-oriented, generic, functional features in addition to facilities for low-level memory manipulation.\n\n### IDEs and Code Editors for C++\n- code::Blocks\n- Eclipse\n- Microsoft Visual Studio\n- VSCode\n- CodeLite\n- Geany\n- Vim, etc.\n\n### Compilers\n|Compiler|Platform|Command|\n|--------|--------|-------|\n|**[GCC](https://gcc.gnu.org/) (GNU Compiler Collection)** this is most used for C | Linux | `gcc file.c -o file.out` |\n|**[G++](https://gcc.gnu.org/)** this is appropriated for c++ | Linux | `g++ file.cc -o file.out` |\n|**[Microsoft Visual C++ (MSVC) compiler](https://code.visualstudio.com/docs/cpp/config-msvc)**| Microsoft | `cl file.cc`|\n\n#### How compilers work\n\n`source code -\u003e compiler -\u003e Machine Language`\n\nFrom the following source code (called helloWorld.cpp)\n\n```cpp\n#include \u003ciostream\u003e\n\nint main() {\n    // How to print \"Hello World\"\n    std::cout \u003c\u003c \"Hello World\\n\"; \n    return 0;\n}\n```\nWe need to compile (`g++` helps us to do this)\n\n```\ng++ helloWorld.cpp -o helloWorld\n```\n\nAbove create an executable file (in this case `helloWorld`). To run this we need to execute the file as follows:\n\n```\n./helloWorld\n```\n\nThis prints in console `Hello World`\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faddleonel%2Fcpp-fundamentals","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faddleonel%2Fcpp-fundamentals","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faddleonel%2Fcpp-fundamentals/lists"}