里面需要的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)
--------------------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)
尝试找老的sdk吧,找不到就换本书
那个东西看看就行了
还是用心的把