|
|
我在compile一本??quot;3D Game Engine Programming"的chapter9的?例叫做"chap_09\ZFXInput",遇到了 一?????,就是??霈F以下的???息:
Error 1 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int e:\data1\akira recent study\3d game engine programming\chapter data\chap_09\zfxinput\zfxdi\zfxjoystick.cpp 12
???一下,我???如何解?Q???????
- // File: ZFXJoystick.cpp
- #include <windows.h> // type definitions
- #include "ZFXDI.h" // class definition
- extern bool g_bLF;
- // Yeah, evil callback stuff. Let's rock C++, let's rock!
- ZFXJoystick *g_pThis=NULL;
- CALLBACK gEnumJoyCallback(const DIDEVICEINSTANCE* pInst, void* pUserData);<======problem
复制代码 |
|