r/cpp • • Apr 23 '16

Just started coding with C++

I just started coding with C++ not too long ago, but I've had alot of experience with other coding languages (Java, Javascript, HTML, Python.) But if I'm aiming to make games with C++ one day (After years and years of practice of course) what do I need to learn? What books do you recommend? What exercises should I practice? As far as I know there's no website to 'teach' the subject (Like CodeAcademy and what not), so what would you recommend to get me started?

1 Upvotes

32 comments sorted by

View all comments

8

u/_lerp Apr 23 '16

Effective Modern C++ by Scott Meyers

and IMO the thing that sets C++ apart is the metaprogramming, i.e. templates.

8

u/MoTTs_ Apr 23 '16

That's a great book for OP to read eventually, but I think it's the wrong book for someone who's just starting with C++.

"A Tour of C++" is a thin book that can serve as an intro. "Programming: Principles and Practice Using C++" is a thicker and more detailed book that's still meant for newer programmers. And finally "The C++ Programming Language" is a highly comprehensive book meant for advanced programmers.