{"id":22266678,"url":"https://github.com/andreasfertig/notebookcpp-tips-and-tricks-with-templates","last_synced_at":"2025-07-28T10:33:12.773Z","repository":{"id":58919476,"uuid":"265260792","full_name":"andreasfertig/notebookcpp-tips-and-tricks-with-templates","owner":"andreasfertig","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-05T10:50:01.000Z","size":127,"stargazers_count":54,"open_issues_count":0,"forks_count":12,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-06-10T03:39:07.173Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/andreasfertig.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2020-05-19T13:53:25.000Z","updated_at":"2025-03-20T03:34:46.000Z","dependencies_parsed_at":"2024-02-05T12:02:05.119Z","dependency_job_id":null,"html_url":"https://github.com/andreasfertig/notebookcpp-tips-and-tricks-with-templates","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andreasfertig/notebookcpp-tips-and-tricks-with-templates","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreasfertig%2Fnotebookcpp-tips-and-tricks-with-templates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreasfertig%2Fnotebookcpp-tips-and-tricks-with-templates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreasfertig%2Fnotebookcpp-tips-and-tricks-with-templates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreasfertig%2Fnotebookcpp-tips-and-tricks-with-templates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andreasfertig","download_url":"https://codeload.github.com/andreasfertig/notebookcpp-tips-and-tricks-with-templates/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreasfertig%2Fnotebookcpp-tips-and-tricks-with-templates/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267502670,"owners_count":24098197,"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-28T02:00:09.689Z","response_time":68,"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":[],"created_at":"2024-12-03T10:19:53.790Z","updated_at":"2025-07-28T10:33:12.279Z","avatar_url":"https://github.com/andreasfertig.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Companion Source Code for \"Notebook C++ - Tips and Tricks with Templates\" 3. Edition\n\n[![Build Status](https://github.com/andreasfertig/notebookcpp-tips-and-tricks-with-templates/workflows/ci/badge.svg)](https://github.com/andreasfertig/notebookcpp-tips-and-tricks-with-templates/actions/) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](/LICENSE.txt)\n\n![Book cover](.artwork/cover.png)\n\n## Code examples\n\nThis repository contains runnable source code examples from the 3. edition of [Notebook C++ - Tips and Tricks with Templates](https://andreasfertig.com/books/notebookcpp-tips-and-tricks-with-templates/), by [Andreas Fertig](https://andreasfertig.com).\n\n### The layout of the examples\n\nThe examples are separated into different directories based on how they appear in the book.\n\n### Running the examples\n\nThe examples are in a single `.cpp` file that can be easily executed in any IDE. There is also an `CMakeLists.txt` which can generate IDE projects or be used to compile the example in a terminal.\nThis repo contains a top-level `CMakeLists.txt`, which does build all the examples.\n\n### Building the examples\n\nYou can select the compiler by setting the `CXX` environment variable.\n\n```\nmkdir notebookcpp-tips-and-tricks-with-templates\ncd notebookcpp-tips-and-tricks-with-templates\ngit clone https://github.com/andreasfertig/notebookcpp-tips-and-tricks-with-templates\nmkdir build\ncd build\ncmake ../\ncmake --build . -j\n```\n\nAfter that, you find all the executables in `notebookcpp-tips-and-tricks-with-templates/build/bin`.\n\nSome examples use the latest C++ standard, so you will need a modern compiler to compile them. The latest stable versions of GCC or [Clang](https://releases.llvm.org/) are recommended. The code is not tested but is also expected to work with MSVC.\n\n## License\n\nThe source code is released under the [MIT License](/LICENSE.txt).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreasfertig%2Fnotebookcpp-tips-and-tricks-with-templates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreasfertig%2Fnotebookcpp-tips-and-tricks-with-templates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreasfertig%2Fnotebookcpp-tips-and-tricks-with-templates/lists"}