I'm an aspiring (and novice) game developer. Currently working on some basic games in Unity, with C#. But to be honest, C++ is what i want and will have to learn.
Now i see alot of people suggesting beginners to just start creating programs. For me however, that trial by error approach results in copying and pasting blocks of code that i just 'take for granted'. My first main goal is not to simply start spitting out code (games). But to strengthen my knowledge of the syntax and create know-how first. The stuff i'm having difficulties with are loops, especially 'while' loops. The practical use of vectors and arrays. And the creating and implementation of methods. Could you guys suggest me some excersises to work on those? I'd like to work on those daily. Greatly appreciated! :-)
TLDR: Beginner looking for excersise to write more efficient, elegant code.
Ps. I've bought 'The C++ programming language' and 'c++ Primer'.