Skip to Content
The C++ Programmer's Mindset
book

The C++ Programmer's Mindset

by Sam Morley
November 2025
Intermediate to advanced
398 pages
9h 55m
English
Packt Publishing

Overview

Learn to break down and solve real-world problems with modern C++ using the proven power of computational thinking.

Key Features

  • Apply computational thinking to tackle complex C++ challenges
  • Use abstraction, algorithms, and data structures the C++ way
  • Build scalable, efficient, and reusable C++ code through real-world projects
  • Purchase of the print or Kindle book includes a free PDF eBook

Book Description

Solve complex problems in C++ by learning how to think like a computer scientist. This book introduces computational thinking—a framework for solving problems using decomposition, abstraction, and pattern recognition—and shows you how to apply it using modern C++ features. You'll learn how to break down challenges, choose the right abstractions, and build solutions that are both maintainable and efficient.

Through small examples and a large case study, this book guides you from foundational concepts to high-performance applications. You’ll explore reusable templates, algorithms, modularity, and even parallel computing and GPU acceleration. With each chapter, you’ll not only expand your C++ skillset, but also refine the way you approach and solve real-world problems.

Written by a seasoned research engineer and C++ developer, this book combines practical insight with academic rigor. Whether you're designing algorithms or profiling production code, this book helps you deliver elegant, effective solutions with confidence.

What you will learn

  • Apply computational thinking to complex C++ problems
  • Break problems into components using abstraction
  • Use algorithms and data structures effectively in C++
  • Design modular and reusable C++ code
  • Analyze and improve algorithmic performance
  • Parse, transform, and interpret data in multiple formats
  • Scale up with concurrency, GPUs, and profiling tools

Who this book is for

C++ developers, software engineers, and computer science students who want to enhance their problem-solving capabilities and build scalable, maintainable solutions. Basic familiarity with C++ syntax is assumed, making this ideal for intermediate programmers ready to master abstraction and algorithmic thinking.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Modern C++ Programming Cookbook - Second Edition

Modern C++ Programming Cookbook - Second Edition

Marius Bancila
Learn C++ by Example

Learn C++ by Example

Frances Buontempo

Publisher Resources

ISBN: 9781835888421