To answer your question, most games use DriectX, while most 3D games use a version of OpenGL, so I would use one of those two graphic libraries for your exeercise.
Now a question for you. Which C compiler are you using? Embarcadero C++ Builder, Visual Studio 2019 or some other?