Dump SSDL and get a tutorial on SDL. You’ll see a lot that you recognize. Many SSDL functions are SDL functions with an “S” stuck on the front (as in, SDL_PollEvent became SSDL_PollEvent). Usually SDL functions need one more initial argument, often of type SDL_Window* or SDL_Renderer*, two types you’ll learn right away. You can usually guess what’ll be needed (hint: functions with “Render” in the name probably need SDL_Renderer*).
Or, keep SSDL, but extend with more SDL features – say, joystick ...
29. Moving on with SDL
Get C++20 for Lazy Programmers: Quick, Easy, and Fun C++ for Beginners now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.