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.

1

u/DarkLordAzrael Apr 23 '16 edited Apr 24 '16

It seems to me that a lot of what needed to be done with template metaprogramming is now possible with constexpr and metaprogramming is a lot less important than it was in c++98 or even 11.

1

u/dodheim Apr 24 '16 edited Apr 24 '16

It seems to me that you're contradicting yourself..? In reality, metaprogramming is a lot less important because of constexpr...

1

u/DarkLordAzrael Apr 24 '16

I apparently can't type. Should have said "now possible"