Settings

Theme

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

12 points by Shosty123 2 years ago · 5 comments · 1 min read


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/

8BitArmour 2 years ago

https://github.com/danistefanovic/build-your-own-x

cpach 2 years ago

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

hnthrowaway0328 2 years ago

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++.

  • abhijat 2 years ago

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

stefanos82 2 years ago

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

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection