阅读:1459回复:1
难道定义一个数组也错误么???
我仅仅定义了这个数组:
DWORD SampleAngle[17]={0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; (我用vc编译的,也包含) Driver.cpp E:\qudongshu\chapter01\NT_Driver\2\Driver.cpp(134) : error C2146: syntax error : missing ';' before identifier 'SampleAngle' E:\qudongshu\chapter01\NT_Driver\2\Driver.cpp(134) : error C2501: 'DWORD' : missing storage-class or type specifiers E:\qudongshu\chapter01\NT_Driver\2\Driver.cpp(134) : fatal error C1004: unexpected end of file found 执行 cl.exe 时出错. HelloDDK.sys - 1 error(s), 0 warning(s) 难道我定义数组也不行吗?? |
|
沙发#
发布于:2009-06-08 17:42
你用ULONG
|
|