# book-cpp-algorithms **Repository Path**: bcledger_admin/book-cpp-algorithms ## Basic Information - **Project Name**: book-cpp-algorithms - **Description**: Book: A Complete Guide to Standard C++ Algorithms - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-11-28 - **Last Updated**: 2022-12-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Book: A Complete Guide to Standard C++ Algorithms This repository contains the LaTeX source and C++ code samples for the book "A Complete Guide to Standard C++ Algorithms". [Latest PDF release (v0.3.0)](https://github.com/HappyCerberus/book-cpp-algorithms/releases/download/v0.3.0/book_with_cover_v0.3.0.pdf) [![Book Cover](static/book_cover.png)](https://github.com/HappyCerberus/book-cpp-algorithms/releases/download/v0.3.0/book_with_cover_v0.3.0.pdf) ## Changelog - `0.3.0` New chapter with ADL information and formatting cleanup. - `0.2.1` Fixed page numbering issue, small text changes. - `0.2.0` Added chapter covering C++20 ranges and views. - `0.1.1` Added index and a cover page, small text changes. - `0.1.0` First pre-release ## Building from sources The repository is configured with VSCode devcontainer support. Make sure that you have VSCode and Docker installed, then simply open the repository in VSCode. You will be prompted to reopen the project in a docker image. VSCode is configured to use the LaTeX Workshop extension. To build the PDF simply press `CTRL+ALT+B` or select `LaTeX Workshop: Build LaTeX Project` from the command palette. Note that due to the high number of code examples, the build does take a while. The resulting PDF will be in the build folder. ### Code samples Most code files have wrapping main files that exercise both the build and also contain `assert` expressions that verify correctness of the code. The `verify.sh` shell script will build all (except for a few that don't compile with GCC 11) examples, and then run each of them to validate all asserts.