里面需要的directX7.0或8.0网上找不到了,于是我就下了9.0的,9.0的includ文件夹里不出意料的没有书里需要的directdraw.h,遇到这种情况的你们有什么办法了吗,我是出这些错误了,什么都设置好了的
--------------------Configuration: blackbox - Win32 Debug--------------------
Compiling...
blackbox.cpp
e:\t3dgamer1\source\t3dchap01\blackbox.h(34) : error C2146: syntax error : missing ';' before identifier 'lpdd'
e:\t3dgamer1\source\t3dchap01\blackbox.h(34) : fatal error C1004: unexpected end of file found
freakout.cpp
e:\t3dgamer1\source\t3dchap01\blackbox.h(34) : error C2146: syntax error : missing ';' before identifier 'lpdd'
e:\t3dgamer1\source\t3dchap01\blackbox.h(34) : fatal error C1004: unexpected end of file found
Error executing cl.exe.blackbox.exe - 4 error(s), 0 warning(s)

解决方案 »

  1.   

    dx9 没有 DirectDraw 了
    尝试找老的sdk吧,找不到就换本书
      

  2.   

    已经找到了,为了方便以后跟我一样烦恼的人,我把地址发到这里~只有一家有哦~累死我了:http://drivers.mydrivers.com/drivers/10-4203-Microsoft-DirectX-7.0-SDK/
      

  3.   

    现在都学direct11了
    那个东西看看就行了
    还是用心的把
      

  4.   

    我的盗版的也有,可惜只有例子还VC安装程序 没有dx7....
      

  5.   

    http://www.pudn.com/downloads443/ebook/detail1868756.html
      

  6.   

    http://blog.csdn.net/angryn00b/article/details/8497787里头有8.1的sdk 书中光盘里也有sdk的 
      

  7.   

    安装dxsdk_aug2006,设置相应头文件路径即可