?? stdafx.h
字號:
/**
*
*
* @file stdafx.h
*
*
*/
#ifndef __STDAFX_H__
#define __STDAFX_H__
/** 包含常用的頭文件 */
#include <windows.h>
#include <stdio.h>
#include <math.h>
#include <time.h>
/** 包含gl頭文件 */
#include <gl\gl.h>
#include <gl\glu.h>
#include <gl\glaux.h>
#include <gl\glext.h>
/** 包含DirectInput頭文件 */
#define DIRECTINPUT_VERSION 0x0800
#include <dinput.h>
/** 包含OpenGL鏈接庫文件 */
#pragma comment(lib, "opengl32.lib")
#pragma comment(lib, "glu32.lib")
#pragma comment(lib, "glaux.lib")
/** 包含DirectInput鏈接庫文件 */
#pragma comment(lib, "dxguid.lib")
#pragma comment(lib, "dinput8.lib")
/**< 禁止編譯器出現(xiàn)類型轉(zhuǎn)換的警告 */
#pragma warning(disable: 4311)
#pragma warning(disable: 4312)
#pragma warning(disable: 4244)
#pragma warning(disable: 4018)
#pragma warning(disable: 4267)
#endif
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -