This Video gives you any detailed insight into the API's which are required to have a basic program with OpenGL.
This API's will be the base or skeleton program for all or most of the OpenGL Program which you come across.
To know How to Install Codeblocks with OpenGL, Create & Execute a OpenGL Program go through the video at this link : • How to Install CodeBlocks IDE with OpenGL ...