首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > C++ >

这个十六进制放到变量里解决方案

2012-03-09 
这个十六进制放到变量里DWORD 0x0108AFD4, DebugOutCall 0x008ADC40这个应该怎么写啊?C:\Documents an

这个十六进制放到变量里
DWORD = 0x0108AFD4, DebugOutCall = 0x008ADC40;

这个应该怎么写啊?
C:\Documents and Settings\49694\桌面\新建文件夹\启动.cpp(3) : error C2146: syntax error : missing ';' before identifier 'DWORD'
C:\Documents and Settings\49694\桌面\新建文件夹\启动.cpp(3) : fatal error C1004: unexpected end of file found

我就是想问 怎么把这个十六进制放到变量里
 变量怎么定义?

[解决办法]
你是不是用到了windows.h或者windef.h
因为在windef.h中DWORD就是unsigned long类型
typedef unsigned long DWORD;

热点排行