{"id":20955149,"url":"https://github.com/bryik/experiments-in-cpp","last_synced_at":"2026-05-22T08:05:06.886Z","repository":{"id":70396718,"uuid":"151032573","full_name":"bryik/experiments-in-cpp","owner":"bryik","description":"Notes from learning C++","archived":false,"fork":false,"pushed_at":"2022-09-27T02:54:09.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-19T23:32:47.367Z","etag":null,"topics":["cpp"],"latest_commit_sha":null,"homepage":null,"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/bryik.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":"2018-10-01T03:33:50.000Z","updated_at":"2022-09-26T02:06:58.000Z","dependencies_parsed_at":"2023-04-24T19:46:59.971Z","dependency_job_id":null,"html_url":"https://github.com/bryik/experiments-in-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/bryik%2Fexperiments-in-cpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryik%2Fexperiments-in-cpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryik%2Fexperiments-in-cpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryik%2Fexperiments-in-cpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bryik","download_url":"https://codeload.github.com/bryik/experiments-in-cpp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243351862,"owners_count":20276911,"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":["cpp"],"created_at":"2024-11-19T01:18:14.235Z","updated_at":"2025-12-26T08:04:01.865Z","avatar_url":"https://github.com/bryik.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Experiments in C++\n\nThis repo contains little examples demonstrating certain concepts from C++. They are slightly cleaned up versions of notes I wrote during the uOttawa course CSI 2372.\n\n## Compiling\n\nAll of the examples in `./experiments` have been tested with GCC.\n\nTo compile, run, and remove the compiled files:\n\n1. Open a terminal in the `./experiments` directory.\n2. Execute:\n\n```bash\ng++ -std=c++17 1-hello.cpp \u0026\u0026 ./a.out \u0026\u0026 rm ./a.out\n```\n\nYou can wrap this in a handy bash function:\n\n```bash\nfunction c++ {\n  g++ -std=c++17 -Wall -Wextra $1.cpp \u0026\u0026 ./a.out \u0026\u0026 rm ./a.out\n}\n```\n\nWith this, running a single file can be done with:\n\n```bash\nc++ hello\n```\n\n## Style\n\nThis repo _tries_ to follow Google's [C++ style guide](https://google.github.io/styleguide/cppguide.html). VS Code can be configured to automatically format code in this style ([instructions](https://stackoverflow.com/a/46064866/6591491)).\n\nEach experiment is numbered, but this indicates more about when the experiment was added rather than anything about difficultly.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbryik%2Fexperiments-in-cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbryik%2Fexperiments-in-cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbryik%2Fexperiments-in-cpp/lists"}