I am using the Windows 7. I am programming using the OpenGL on it. But I found that there are some features I can use. So I want to check the version of the OpenGL on my sys
try to use the following code, it works for me:
cout << "OpenGL Version : " << glGetString(GL_VERSION) << endl;
Make sure that you include string and iostream in your program.