I’m looking for a graphics library in C/C++. If you know one, please comment it.
I think the most popular are OpenGL and SDL
Can anyone provide examples or tutorials so I can understand how to use them?
Not really sure if this is a decent tutorial or not, but C++ Game Programming For Beginners - Pong in Raylib - YouTube seems like it would be worth a shot, and you actually learn by making a project rather than just learning random syntax you probably won’t remember.
If you are starting now in doing games I’d recommend SFML. You cannot make 3D games in SFML but 3D is a long shot for someone who is starting right now.
" 1. SFML is cross-platform It can run in Windows, Linux/Unix, Mac and experiments are already going on to make it portable with Android and iOS (Compared to other graphic libraries such as Windows API, etc which only support a single platform)
2. SFML is super-fast Your application will most of the time run at several thousand frames per second compared to some graphic APIs which fail to reach even 500fps!
3. SFML is multi-language In this article we used C++ but you could have created the same thing using Python or even GoLang!!"