r/cpp • u/CelesticRose • 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
17
u/lex99 Apr 23 '16
I strongly disagree with advising newcomers to learn metaprogramming. It's the most advanced aspect of C++, hard to follow, write, and debug. You can go far in c++ without it.
I would instead advise the newcomer that c++ gives you total control of your system (modulo the compiler) and with it you can really understand how every action the computer takes is due to some value at a specific location in memory being operated on, or some system call being executed, and there's NO magic anywhere. For folks that came up in Python, ruby, JS, etc, there's a large abstraction between the code and the machine.