So you wanna make a game in C++ using SDL2 library?
There's a few books out there that show you around the SDL2 library in C++ for making games, one of which I know of well:
If you're fairly new to C++ and you've come across this book then you'll know it's full of unclear instructions and error "booby-traps" planted to catch the inexperienced c++ programmers among us. Well I'll start off by telling you that this tutorial I provide will be of similar, if not the same calibre, as the book; the difference being, no frustrating newbie traps (and non newbie traps, I know other experience programmers who found this book frustrating).
So without further ado, ladies and gents, let's make a game!