alt.hn

3/15/2026 at 9:37:40 PM

Ask HN: How to Learn C++ in 2026?

by creatorcoder

3/16/2026 at 2:11:23 AM

This website https://www.learncpp.com/, while it may look like other half-baked tutorial websites, is excellent is filled with up to date nuanced information. It covers basically everything you will need. It's extremely high quality.

Even if you don't follow it step by step sequentially, it's an excellent reference if learning from another resource.

This + actually working on a small project you want to accomplish is probably the best way to learn.

by skelpmargyar

3/16/2026 at 2:58:09 AM

agree on the quality, there's a reason it usually shows up top in the search results

by imgyuri

3/16/2026 at 6:16:17 AM

I am part of a game dev focused Discord server where people regularly ask how to get into C++. Because of this (and similar) repeating questions I've put together this repository as a guide. Note that this is full of my personal opinions and experiences; feel free to disagree.

https://github.com/W4RH4WK/cpp-init

by w4rh4wk5

3/16/2026 at 11:39:15 AM

In 2026, you should learn "Modern C++" instead of "C++".

And, about "Modern C++", the book <Professional C++, 6th Edition> is definitively one of the best.

by leoprctmp

3/16/2026 at 2:57:51 AM

I personally did the following:

1. Ploughed thru every problem in "Schaum's Outline of Programming With C++". It's an old book, but the code in it is not particularly different from modern C++

2. Picked up "C++ Crash Course: A Fast-Paced Introduction" to fill in the gaps, understand what wasnt explained in (1) etc

by manfromchina1

3/16/2026 at 1:13:05 AM

You might start with Stroustrup's A Tour Of C++. That will get you most of the concepts and features, and why the concepts are the way they are.

by AnimalMuppet

3/16/2026 at 12:22:32 PM

Yeah, that's pretty much tailor-made to be the official resource for an experienced programmer to get an overview of C++ as it stands. Fairly slim book so it's approachable.

https://www.stroustrup.com/tour3.html

by frou_dh

3/15/2026 at 11:16:35 PM

Find a project and work on it. What is your objective?

by markus_zhang

3/16/2026 at 3:42:01 AM

For a beginner;

1) C++ Primer 5th edition (updated to C++11) by Stanley Lippman, Josee Lajoie, Barbara Moo. Don't bother with any other book until you have made a full pass over this. You can later update yourself to C++20/C++23/etc. from the books by Stroustrup/Others.

2) Inside the C++ Object Model by Stanley Lippman. An old classic to understand the "C++ Abstract Machine" built on top of the "C Abstract Machine".

PS: The Definitive C++ Book Guide and List - https://stackoverflow.com/questions/388242/the-definitive-c-...

by rramadass

3/15/2026 at 9:38:50 PM

[dead]

by eegG0D

3/16/2026 at 3:19:59 AM

If what you are really interested in is system programming, not the C++ language, learn Rust instead.

by lingua_franca

3/16/2026 at 5:30:24 PM

He already knows C, so I don't think this is the unique selling point.

by 1718627440