游戏开发论坛

 找回密码
 立即注册
搜索
查看: 1053|回复: 0

ZFXInput of 3D Game Engine Programming

[复制链接]

414

主题

611

帖子

621

积分

高级会员

Rank: 4

积分
621
发表于 2008-2-28 16:09:00 | 显示全部楼层 |阅读模式
我在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???????


  1. // File: ZFXJoystick.cpp

  2. #include <windows.h> // type definitions
  3. #include "ZFXDI.h" // class definition


  4. extern bool g_bLF;


  5. // Yeah, evil callback stuff. Let's rock C++, let's rock!
  6. ZFXJoystick *g_pThis=NULL;
  7. CALLBACK gEnumJoyCallback(const DIDEVICEINSTANCE* pInst, void* pUserData);<======problem
复制代码
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

作品发布|文章投稿|广告合作|关于本站|游戏开发论坛 ( 闽ICP备17032699号-3 )

GMT+8, 2025-12-20 07:47

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表