📄 readme - rotatecube.txt
字号:
//***********************************************************************
//
// - "Talk to me like I'm a 3 year old!" Programming Lessons -
//
// $Author: DigiBen digiben@gametutorials.com
//
// $Program: RotateCube
//
// $Description: This draws a rotating cube to the screen
//
// $Date: 7/3/01
//
//***********************************************************************
Files: Main.cpp (The Source File containing the main program code)
Init.cpp (The Source File containing the Win32 and OpenGL initialization code)
main.h (The Header File containing definitions for the main program)
RotateCube.vcproj (The VC++ Project File holding the project info)
RotateCube.sln (The Solution File holding the solution info)
Libraries: opengl32.lib (The OpenGL Interface Library needed to compile the program)
glu32.lib (The OpenGL Utility Library needed to compile the program)
Instructions: If you have Microsoft Visual Studio .NET (version 7.0) just click on the
<Program Name>.vcproj file. This will open up visual c++. You will most
likely see the code for <Program Name>.cpp. If you don't, press CRTL+ALT+L
This will open the "Solution Explorer". There you should find two folders named
"Source Files" and "Header Files". Double click on the "source" folder and you
should see your source file(s) with a .cpp extension after it. Double click on the
file and it
will open up in your main window. Hit Control-F5 to run the program.
You will probably see a prompt to compile/build the project. Click OK and
the Win32 program should pop up. :)
EULA: Your use of this tutorial constitutes your agreement to GameTutorials' Terms of Use found
at: http://www.gametutorials.com/TermsOfUse.htm
www.GameTutorials.com
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -