The most commonly used is MFC programming.
B or use the platform sdk (that is, windows api).
MFC is a class encapsulation of windows api.
Then you can write programs such as mine clearance and gobang.
If you want to write about the effect in that online game. That's a long way to go.
Find a directX book to read. Opengl is the same. It is not difficult to know this and that.
OpenGL, or directX, two function libraries directly control the graphics card,