{"id":18756055,"url":"https://github.com/memergamer/cppcompile","last_synced_at":"2026-05-10T03:02:42.473Z","repository":{"id":133173707,"uuid":"543947417","full_name":"MemerGamer/cppcompile","owner":"MemerGamer","description":"Bash script for easier C++ compiling and running from terminal.","archived":false,"fork":false,"pushed_at":"2022-10-25T09:27:51.000Z","size":30,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-20T13:55:58.845Z","etag":null,"topics":["bash","compile","cpp"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MemerGamer.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":"2022-10-01T08:20:07.000Z","updated_at":"2022-10-01T17:14:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"cdacb2d5-d745-4623-b8dc-01a34fa267bb","html_url":"https://github.com/MemerGamer/cppcompile","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MemerGamer/cppcompile","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MemerGamer%2Fcppcompile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MemerGamer%2Fcppcompile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MemerGamer%2Fcppcompile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MemerGamer%2Fcppcompile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MemerGamer","download_url":"https://codeload.github.com/MemerGamer/cppcompile/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MemerGamer%2Fcppcompile/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266640830,"owners_count":23960809,"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-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["bash","compile","cpp"],"created_at":"2024-11-07T17:34:59.740Z","updated_at":"2026-05-10T03:02:42.392Z","avatar_url":"https://github.com/MemerGamer.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cppcompile\n## Bash script for easier C++ compiling and running from terminal.\n\nThe program searches for the .cpp files then tries compiles it.\nOtherwise displays the compilation error.\n\n# Demo\nIf you want to try the program you could try it in the demo folder.\nThe demo program prints out input arguments to the terminal, if there is none prints out ```'./a.out'```.\n\nDemo usage:\n```console\ncd demo/\ncppcompile.sh banana 5 4.8\n```\nOutput should be:\n```console\nProgram arguments are: 'banana', '5', '4.8'.\n```\n\n## Usage example:\n```console\ncppcompile.sh [Argument1] [Argument2] ...\n```\n## Input arguments are optional\n\nNOTE: In the case of multiple input arguments, each argument has to be separated with a space\n\n### NOTE: \nIf you want to make modifications to the script, for example using a different c++ standard, (not c++20) then do that firstly before running the commands below.\n\n# Installation\n\nFor using the script you need to download it.\n```console\ngit clone https://github.com/MemerGamer/cppcompile.git\ncd cppcompile/\n```\n\n## GNU Linux / OS X \nAfter downloading you need to make it an executable\n\n```console\nchmod +x ./cppcompile.sh\n```\n\nAfter that you need to copy the script to the ```/usr/bin``` directory.\nFor this you will need to be a sudoer!\n```console\nsudo cp ./cppcompile.sh /usr/bin/\n```\n\n## Windows\n(You will need GitBash or WSL enabled)\n\nAfter downloading you need to put ```cppcompile_win.sh``` in a folder, or create a folder somewhere secure.\nAfter that you need to put the folders path in the environment variables.\n[Example](https://docs.oracle.com/en/database/oracle/machine-learning/oml4r/1.5.1/oread/creating-and-modifying-environment-variables-on-windows.html#GUID-DD6F9982-60D5-48F6-8270-A27EC53807D0)\n\nNow you can use it in the Windows Terminal like:\n```console\ncppcompile_win.sh [Argument1] [Argument2] ...\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmemergamer%2Fcppcompile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmemergamer%2Fcppcompile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmemergamer%2Fcppcompile/lists"}