24小时热门版块排行榜    

查看: 1599  |  回复: 12

holmescn

金虫 (正式写手)

引用回帖:
Originally posted by 孤鸿飘逸 at 2010-06-19 12:07:20:

不行啊

怎么不行?把错误信息发上来
11楼2010-06-20 18:10:10
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

孤鸿飘逸

金虫 (正式写手)

引用回帖:
Originally posted by holmescn at 2010-06-20 18:10:10:


怎么不行?把错误信息发上来

f:\vc6.0_vv\0\1.cpp(2) : fatal error C1083: Cannot open include file: 'stdbool.h': No such file or directory
Error executing cl.exe.
12楼2010-06-24 17:53:39
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

孤鸿飘逸

金虫 (正式写手)

引用回帖:
Originally posted by holmescn at 2010-05-24 09:59:23:


可能是你用了VC6的原因,这个不支持C99特性。

可自行将的bool改为BOOL(全部大写),去掉那个include,再试。

所有bool改为BOOL(全部大写),去掉那个include
f:\vc6.0_vv\0\1.cpp(45) : error C2374: 'i' : redefinition; multiple initialization
        f:\vc6.0_vv\0\1.cpp(36) : see declaration of 'i'
f:\vc6.0_vv\0\1.cpp(64) : error C2146: syntax error : missing ';' before identifier 'valid'
f:\vc6.0_vv\0\1.cpp(64) : error C2501: 'BOOL' : missing storage-class or type specifiers
f:\vc6.0_vv\0\1.cpp(64) : fatal error C1004: unexpected end of file found
Error executing cl.exe.
13楼2010-06-24 17:55:49
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 王建发 的主题更新
普通表情 高级回复(可上传附件)
信息提示
请填处理意见