Leanpub Header

Skip to main content

Filters

Category: "C and C++"

C and C++

New to C and C++? Read the C and C++ article

  1. C++23 - The Complete Guide
    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

  2. SDL3: The Complete Reference
    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.

  3. The C++ Interview Book
    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.

  4. Mastering STM32 - Second Edition
    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. C++20 - The Complete Guide
    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

  6. The Complete C++23 Guide: From Beginner to Advanced
    The Complete C++23 Guide: From Beginner to Advanced
    From First Program to Expert-Level Systems Programming
    Steve Publications

    Learn modern C++23 from the ground up with clear explanations and complete, compilable examples. From your first program to advanced topics like concurrency, metaprogramming and performance optimization, this book gives you the skills to write fast, reliable and professional-quality C++ software.

  7. FAT12
    FAT12
    Understanding and Implementing the Classic File System in C
    Björn Götz

    Stop guessing what the bytes on disk mean and build the filesystem yourself. Over twelve chapters you implement FAT12 from scratch in C, from the first sector read to formatting a fresh volume, and check every step against a hexdump. Then you boot the exact same code inside your own kernel and watch it write and read files on bare metal.

  8. C++17 - The Complete Guide
    C++17 - The Complete Guide
    Nicolai M. Josuttis

    All new language and library features of C++17 (for those who know previous versions). Learn how C++17 impacts day-to-day C++ programming, how to benefit in practice, how to combine new features, and how to avoid all new traps.Hardcover version (please, prefer a local bookstore) Paperback versionSpanish versionC++23C++20Bundle with C++ Move Semantics

  9. Inside the Linux Kernel: Architecture, Mechanisms and Internals
    Inside the Linux Kernel: Architecture, Mechanisms and Internals
    A Deep Dive into Linux System Implementation from Hardware to User Space
    Steve Publications

    Ever wondered what really happens inside the Linux kernel when a program runs? Go beyond the surface and explore the code, data structures and hardware mechanisms that make Linux work. From system calls to CPU instructions, this book takes you deep into the kernel’s inner workings, giving experienced programmers a closer look at the system they rely on every day.

  10. Architecting High Frequency Trading Systems
    Architecting High Frequency Trading Systems
    Modern C++ design patterns for Lock-Free Pipelines, Kernel Bypass, and Nanosecond Execution.
    Weston Ashgrove

    Every nanosecond is a decision. Most trading systems lose thousands of them before the strategy even runs.Architecting HFT Systems in Modern C++ is the build manual for the systems that don’t. Starting from bare metal, you’ll construct a complete high-frequency trading pipeline, from packet arrival to order on the wire, with zero heap allocation and zero system calls on the hot path.You’ll learn how to:Tune Linux for deterministic, low-jitter execution with isolated cores, IRQ affinity, and tickless kernelsReplace malloc with arena allocators, pre-faulted pools, and clocks that never touch the kernelWire every component through lock-free SPSC queues using only the memory ordering you actually needBypass the kernel with DPDK, ef_vi, and io_uring, reading packets exactly where DMA placed themDecode ITCH, SBE, and FAST feeds at wire speed with branchless, compile-time-dispatched parsersBuild a cache-resident order book that updates in nanoseconds, not microsecondsRun strategies through a zero-virtual-call harness and enforce risk limits in a handful of instructionsProve it all with deterministic pcap replay, a simulated exchange, and automated latency regression detectionEvery chapter ends with a Latency and Determinism Ledger, a running p50/p99/p99.9 record that shows exactly where each nanosecond went and how it was won back.No toy examples. No hand-waving. Just the architecture, the code, and the measurements behind real tick-to-trade performance.Speed without determinism is luck. This book teaches you both.Short version (for ads or the subtitle line):Build a complete HFT pipeline in modern C++, from kernel bypass to order on the wire, with zero allocation, zero syscalls, and every nanosecond measured.

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

    You already know C++. Now learn how real C++ software is actually built.Follow one complete application from architecture and CMake to implementation, testing, Git, CI, Docker, and Qt.

  12. C++26 Complete Guide
    C++26 Complete Guide
    The Complete Journey from Beginner to Professional Developer
    Steve Publications

    Start with no experience and build the skills to write modern C++ with confidence. From your first program to advanced C++26 features and professional software design, this guide explains every step with clear examples and practical insights. Learn it once, keep it as a reference for years.

  13. Bare-Metal FPGA Acceleration for C++ Trading Systems
    Bare-Metal FPGA Acceleration for C++ Trading Systems
    HDL Design, PCIe/DMA Transfer, and Clock-Domain Synchronization for Sub-Micro second Execution.
    Weston Ashgrove

    Your C++ gateway is fast. It still loses races. The cost sits below your code, in kernel network stacks, PCIe round trips, and OS scheduling jitter that no profiler shows and no rewrite removes.This book moves market data ingestion and a bounded slice of decision logic into FPGA fabric, cutting a typical 3 to 7 microsecond software path to roughly 0.7 to 1.1 microseconds, with every number measured end to end, not assumed.

  14. 25 C++ Cases That Will Humble You
    25 C++ Cases That Will Humble You
    Sharpen Your Instincts, Train Your Critical Thinking, and Learn the Tools That Help You Catch Bugs
    C++ Doctor

    25 real-world C++ cases explained in detail, covering lifetimes, integer promotion, data races and real-time safety for all levels of C++ developers.

  15. Build an LLM Inference Engine in C++
    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 blankproject to a working Transformer that loads a real model andgenerates text. Forged one challenge at a time, with teststhat prove every piece works before you move on.