Joke Collection Website - News headlines - How to create a new tab in VC++ and directly establish an OPENGL project?

How to create a new tab in VC++ and directly establish an OPENGL project?

Step 1: Put glut32.dll in the path: windows\system32\.

Step 2: put glut32.lib in the following path: Microsoft Visual Studio \ vc98 \ lib \

Step 3: put glut.h in the following path: Microsoft Visual Studio \ vc98 \ include \ GL \ to create a new project.

One: Open VC++6.0: Toolbar: File \ New, and a dialog box named New will appear. Select the project tab, select the WIN32 console application in it, type the name on the right: project name (n), set the storage path under location (z), and then click OK to create an empty project.

2. Toolbar: Project \ Settings. A dialog box named Project Settings appears. Select the connection tab, add OpenGL 32. libgl 32. libgl 32. lib in front of the white box under the Object \ Library module, and then click OK.

3: File \ New, and a dialog box named New will appear. Select the file tab, select the C++ source file, type the name under the file name (n) on the right, and then start typing the code, so that as long as the code is correct, we can run the required results.