Leanpub Header

Skip to main content

Filters

Category: "C and C++"

Books

  1. The C++ Interview Book
    173 questions, from foundations to C++26
    Sandor Dargo

    173 C++ interview questions. Junior to Senior. auto to C++26. Every question has follow-ups, code samples, and cross-references. A 100-day study plan with spaced repetition gets you through them all. A code-reading capstone sharpens your skills under pressure. Not just the answers — the reasoning that survives the follow-up questions.

  2. No More Helloworlds. Build a Real C++ App
    Master Real C++ Development: Architecture, Git, Testing & CMake in One Practical Workflow
    Nikolai Kutiavin

    You know C++ syntax. Now learn how to structure, build, test, and maintain a real C++ application.

  3. C++23 - The Complete Guide
    Nicolai M. Josuttis

    All new language and library features of C++23 (for those who know C++20) The book presents all new language and library features of C++23. Learn how this impacts day-to-day programming, to benefit in practice, to combine new features, and to avoid all new traps. Buy early, pay less, free updates Current Content: www.cppstd23.com Other leanpub books by this author:C++20C++17C++ Move Semantics

  4. Mastering STM32 - Second Edition
    A step-by-step guide to the most complete ARM Cortex-M platform, using the official STM32Cube development environment
    Carmine Noviello

    With more than 1200 microcontrollers, STM32 is probably the most complete ARM Cortex-M platform on the market. This book aims to be the most complete guide around introducing the reader to this exciting MCU portfolio from ST Microelectronics and its official CubeHAL and STM32CubeIDE development environment.

  5. Accelerated Linux Core Dump Analysis, Fourth Edition
    Training Course Transcript with GDB and WinDbg Practice Exercises
    Dmitry Vostokov

    Learn how to analyze x64 and ARM64 Linux process and kernel crashes and hangs, navigate through core memory dump space and diagnose corruption, memory leaks, CPU spikes, blocked threads, deadlocks, wait chains, and more than 50 memory analysis patterns. The training consists of more than 70 step-by-step exercises using GDB and WinDbg debuggers.

  6. For the first time ever, C++23 changes "Hello World" in C++. What kind of fundamental changes does this mean for your code?

  7. C++20 - The Complete Guide
    Nicolai M. Josuttis

    All new language and library features of C++20 (for those who know previous C++ versions) The book presents all new language and library features of C++20. Learn how this impacts day-to-day programming, to benefit in practice, to combine new features, and to avoid all new traps. Buy early, pay less, free updates Other books:C++23C++17C++ Move Semantics

  8. Build an LLM Inference Engine in C++
    A Challenge-Driven Guide to Building a CPU-First Inference Engine in C++20
    Hatem M.

    Build a complete LLM inference engine in C++ — from a blank project to a working Transformer that loads a real model and generates text. Forged one challenge at a time, with tests that prove every piece works before you move on.

  9. SDL3: The Complete Reference
    A Comprehensive Guide to Cross-Platform Game Development with Simple DirectMedia Layer 3
    Steve Publications

    Build games that run almost anywhere with SDL3. This book starts with the basics and steadily moves into advanced graphics, audio, input, and application design using practical, real-world examples. Every chapter includes complete code you can compile and experiment with, helping you understand not just how SDL3 works, but how to use it to build fast, portable applications with confidence.

  10. Daily C++ Interview
    Prepare yourself for your next interview one question a day
    Sandor Dargo

    This book helps you prepare for your next C++ interview if you are looking for an entry- or intermediate level position. The questions are mostly not about edge cases and brain teasers but they cover the realistic knowledge you need to get a developer job in the C++ world. Take a question a day, try to figure it out yourself, then check the answer.

  11. Rust In Practice, Third Edition
    Concurrency, Memory Safety, GPU Computing, Linux Kernels, and Real-World Systems using Rust 1.85
    GitforGits | Asian Publishing House

    This third edition covers Rust 1.85 and the Rust 2024 Edition in full. The new chapters on concurrency, the 2024 edition migration, GPU computing, Go integration, and Linux kernel programming show where the Rust community has moved since the second edition, and where systems programming as a discipline is heading. You might be writing your first Rust function or your hundredth production service, but I hope this book makes the language feel less like a puzzle and more like a tool you are already familiar with. That was the only goal I had when I wrote it.

  12. Build Your Own Redis with C/C++
    Network programming, data structures, and low-level C.
    build-your-own.org

    Build real-world software by coding a Redis server from scratch.Network programming. The next level of programming is programming for multiple machines. Think HTTP servers, RPCs, databases, distributed systems.Data structures. Redis is the best example of applying data structures to real-world problems. Why stop at theoretical, textbook-level knowledge when you can learn from production software?Low-level C. C was, is, and will be widely used for systems programming and infrastructure software. It’s a gateway to many low-level projects.From scratch. A quote from Richard Feynman: “What I cannot create, I do not understand”. You should test your learning with real-world projects!

  13. C++ Algorithmic Mastery: 1000 Challenges from Beginner to Legendary
    Solved and Tested — A Complete 8-Volume Journey from Beginner to Advanced Algorithms
    Hatem M.

    1000 carefully designed C++ problems across 8 progressive volumes — from your very first line of code to advanced algorithms. Every single solution is compiled and tested on g++, with hints, complexity analysis, and a clear explanation for each. A complete, structured path from beginner to mastery.

  14. Build a SQL Database Engine in C++
    Through Challenges --- Storage and Query Processing (Parts I & II)
    Hatem M.

    Build a working SQL database engine in C++20 -- from raw pages to a realquery executor -- one compilable, measured challenge at a time. Everyperformance claim is a benchmark you run yourself; every unit ends with areal bug, caught red-handed and fixed. Nothing asserted. Everythingdemonstrated.

  15. Read this book to learn about different factors influencing the size of your C++ binaries. You'll discover how different ways of coding can increase or decrease binary sizes. We'll look into which compiler and linker settings significantly impact sizes. Last but not least, we'll look into the intersection of coding techniques and compiler settings.