I have been developing a calculator from scratch.
I got to the part where I need to render numbers/symbols on the buttons and display them, but I realize I need SDL_TTF for that, which I didn't have when I downloaded SDL2.
I downloaded version 2.28.5 VC on github and took a look inside the include file, but I didn't, nor did I see SDL_TTF in SDL2 version 2.3.
Do I have it and am I coincidentally looking in the wrong place or do I need to get it from somewhere?
SDL_ttf is not included in the main SDL2 library. It is distributed as a separate extension that you must download and install separately. Therefore, you will not find it among the standard SDL2 files.
If you're using Visual Studio, you can download the corresponding version of SDL_ttf, add its include and lib directories to your project, and link the necessary libraries ( SDL2_ttf.lib and its dependencies). Then you can include it with:
#include <SDL_ttf.h>
Alternatively, if you use a package manager like vcpkg, you can easily install it along with SDL2 and all its dependencies.