HOW CAN I RUN OPENGL CODE IN VISUAL C++?

Well the title says it all, I read I have to put glu32.lib and glu32.dll into systems and library files, but I don’t know where these files are or how to put them were they’re supposed to be.

And I’ve tried running code using Visual C++, just says it cannot be executed.

Anyone help?

You should visit a site like nehe

http://nehe.gamedev.net/

On the left side it says

OpenGL tutorials

Lessons 01 - 05
Lessons 06 - 10
Lessons 11 - 15
Lessons 16 - 20
Lessons 21 - 25
Lessons 26 - 30
Lessons 31 - 35
Lessons 36 - 40
Lessons 41 - 45
Lessons 46 - 48

Start from lesson 1 which shows you how to set things up with VC++

glu32.lib should already be in the lib folder of VC++ and glu32.dll in Windows systems folder.