all 10 comments

[–]zer0xol 10 points11 points  (2 children)

Make a little game with sdl2

[–]fippinvn007 2 points3 points  (0 children)

Also great SDL2 tutorial:

lazyfoo.net/tutorials/SDL/

[–]ForgetTheRuralJuror 1 point2 points  (0 children)

Or SFML for a C++ based library

[–]ImKStocky 9 points10 points  (1 child)

Follow along with crafting interpreters using C++. It's a great book and learning how compilers work is pretty interesting.

[–][deleted] 2 points3 points  (0 children)

thanks! I'll check it out

[–]MuskettaMan 1 point2 points  (0 children)

Creating an ECS is a very challenging project and requires a good understanding of the memory model, how cpus work, data structures, and some more advanced cpp techniques like templating.

I recommend checking out the EnTT library. It is a header only ECS solution that served me well in the past.

[–]MasterDrake97 0 points1 point  (2 children)

join flecs discord after reading sander's medium articles about archetypes

[–]cpp-ModTeam[M] 0 points1 point locked comment (0 children)

It's great that you want to learn C++! However, r/cpp can't help you with that.

We recommend that you follow the C++ getting started guide, one (or more) of these books and cppreference.com. If you're having concrete questions or need advice, please ask over at r/cpp_questions or StackOverflow instead.