Skip to content

Ask HN: Project based books/courses for C++?

12 pointsShosty1235 comments
On HN

I'm learning C++, and I find that I learn best when concepts are introduced in the context of a larger project. However, it seems most resources are giant references with a few code examples or Unreal Engine projects.

You're almost drowning in project-based resources with JavaScript or Python, but I can't find much in the way of C++ other than game development. Does anyone know of any other project-based courses or books for learning the language? Here are some resources I found:

https://www.learncppthroughprojects.com/ (seems abandoned)

https://www.programmingformusicians.com/

Comments

When I want to get aquainted with a new language I like to do a couple of Cryptopals challenges: https://cryptopals.com/

Emulator, compiler, these are the two I'd recommend. You can definitely find ample tutorials and books on the two topics, but maybe for other languages. You can easily switch to C++.

I did this a few years ago by porting the Writing an interpreter book (go) to C++. It was pretty nice for learning.

This one https://hackingcpp.com/ is very good with images, with thorough explanations and so forth.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.