I don't want to sound like a dick, but in answer to the original question...
OpenGL is just a graphics application programming interface, which basically means you have to call the OpenGL functions from within your program, written in another language, such as C++. You can also use it from C, Java and some other languages... there's a list somewhere on opengl.org