{"id":21232889,"url":"https://github.com/offensive-vk/classics","last_synced_at":"2025-06-15T11:08:37.765Z","repository":{"id":170320176,"uuid":"621869644","full_name":"offensive-vk/Classics","owner":"offensive-vk","description":"Classics: (C/C++) ~ This Repository Contains All of My C \u0026 C++ Programs. Hence, An Old School Repo. All Programs Have Categorized for Reference.","archived":false,"fork":false,"pushed_at":"2025-06-03T07:32:14.000Z","size":1178,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"classic","last_synced_at":"2025-06-10T00:44:38.162Z","etag":null,"topics":["assembly","bash","c","cpp"],"latest_commit_sha":null,"homepage":"https://linux.org/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/offensive-vk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"offensive-vk"}},"created_at":"2023-03-31T15:03:57.000Z","updated_at":"2025-06-03T07:32:09.000Z","dependencies_parsed_at":"2024-03-03T07:26:24.238Z","dependency_job_id":"77f0a53f-95e5-4cba-893e-8659dfad975c","html_url":"https://github.com/offensive-vk/Classics","commit_stats":null,"previous_names":["offensive-vk/c-programs","offensive-vk/classics"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/offensive-vk/Classics","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/offensive-vk%2FClassics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/offensive-vk%2FClassics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/offensive-vk%2FClassics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/offensive-vk%2FClassics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/offensive-vk","download_url":"https://codeload.github.com/offensive-vk/Classics/tar.gz/refs/heads/classic","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/offensive-vk%2FClassics/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259964332,"owners_count":22938725,"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":["assembly","bash","c","cpp"],"created_at":"2024-11-20T23:54:59.757Z","updated_at":"2025-06-15T11:08:37.753Z","avatar_url":"https://github.com/offensive-vk.png","language":"C++","readme":"\u003cdiv align=\"center\"\u003e\n    \u003ca href=\"https://www.cprogramming.com/\" target=\"_blank\" rel=\"noreferrer\"\u003e \n        \u003cimg src=\"https://cdn.jsdelivr.net/gh/offensive-vk/Icons@master/c/c-original.svg\" alt=\"c\" width=\"200\" height=\"200\" /\u003e \n    \u003c/a\u003e \n    \u003ca href=\"https://cplusplus.com/\" target=\"_blank\" rel=\"noreferrer\"\u003e \n        \u003cimg src=\"https://cdn.jsdelivr.net/gh/offensive-vk/Icons@master/cplusplus/cplusplus-original.svg\" alt=\"cplusplus\" width=\"200\" height=\"200\" /\u003e \n    \u003c/a\u003e \n\u003c/div\u003e\n\n# **What is C** ?\n\nC is a general-purpose, low level computer programming language. It was created in the 1970s by Dennis Ritchie, and remains very widely used and most influential.\nC is an imperative procedural language, supporting structured programming, lexical variable scope, and recursion, with a static type system. It was designed to be compiled to provide low-level access to memory and language constructs that map efficiently to machine instructions.\n\n- Paradigm - Multi-paradigm: imperative (procedural), structured\n- Designed by **Dennis Ritchie**\n- First appeared - 1972; (50+ years ago)\n- Typing discipline\t- Static, weak, manifest, nominal\n- OS - Cross-platform\n- Filename extensions .c, .h\n- Read More at [Wikipedia](https://en.wikipedia.org/wiki/C_(programming_language))\n\n# **What is C++** ?\n\nC++ is a general-purpose, high level, object based, statically typed programming language developed as an extension of the C programming language. \nC++ was designed with systems programming and embedded, resource-constrained software and large systems in mind, with performance, efficiency, and flexibility of use as its design highlights.\n\n- Paradigms - Multi-paradigm: procedural, imperative, functional, object-oriented, generic, modular\n- Designed by **Bjarne Stroustrup**\n- First appeared in 1985; (39 years ago)\n- Typing discipline - Static, strong, nominative, partially inferred\n- OS - Cross-platform\n- Filename extensions - .c, .cc, .cpp, .cxx, .c++, .h, .H, .hh, .hpp, .hxx, .h++ .cppm, .ixx.\n- Read More at [Wikipedia](https://en.wikipedia.org/wiki/C%2B%2B)\n\n## Classics - C and C++ Programs \n\n- C/C++ both are awesome programming languages. Yet Powerful also.\n- You can find Contribution Guidelines [here](https://github.com/offensive-vk/Classics/blob/classic/CONTRIBUTING.md) and Security Guidelines [here.](https://github.com/offensive-vk/Classics/blob/classic/SECURITY.md)\n- This Repository Contains All of My Best C \u0026 C++ Programs.\n- Trick - Every C Program is also a Valid C++ Program.\n- (i.e You Can Save Your C Source Code with .cpp extension.)\n- Enjoy ! _You can try Shell Scripting too._ [Try Now \u003e](https://github.com/offensive-vk/Classics/blob/classic/Bash/)\n\n## Sample Program\n\n```c++\n#include \u003ciostream\u003e\nint main(int argc, char const *argv[]) {\n    int i = 0;\n    while (i \u003c 1000000000)\n    {\n        i++;\n    }\n    std::cout \u003c\u003c \"Hello All, C++ is Easy. !!\" \u003c\u003c std::endl;\n    std::cout \u003c\u003c i \u003c\u003c std::endl;\n    return 0;\n}\n```\n\n### To Compile any .cpp | .cxx | .c++ file\n\n```bash\n$ g++ filename.cpp -o filename\n```\n\n### To Compile any .c program\n\n```bash\n$ gcc filename.c -o filename\n```\n\nYou are allowed to copy and implement these programs freely.\n\n## Happy Coding - [offensive-vk](https://github.com/offensive-vk/)\n\n***\n\n\u003cp align=\"center\"\u003e\n  \u003ci\u003e\u0026copy; \u003ca href=\"https://github.com/offensive-vk/\"\u003eVedansh \u003c/a\u003e 2020 - Present\u003c/i\u003e\u003cbr\u003e\n  \u003ci\u003eLicensed under \u003ca href=\"https://github.com/offensive-vk/Classics/tree/classic/LICENSE\"\u003eGNU General Public License\u003c/a\u003e\u003c/i\u003e\u003cbr\u003e\n  \u003ca href=\"https://github.com/TheHamsterBot\"\u003e\u003cimg src=\"https://i.ibb.co/4KtpYxb/octocat-clean-mini.png\" /\u003e\u003c/a\u003e\u003cbr\u003e\n  \u003ckbd\u003eThanks for visiting :)\u003c/kbd\u003e\n\u003c/p\u003e\n\u003c/details\u003e","funding_links":["https://github.com/sponsors/offensive-vk"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foffensive-vk%2Fclassics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foffensive-vk%2Fclassics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foffensive-vk%2Fclassics/lists"}