c语言中没有<stdbool>,输出不了程序,求高人指点!

[复制链接]
查看11 | 回复3 | 2013-10-14 22:40:16 | 显示全部楼层 |阅读模式
把那#include改为以下三行.#define bool int#define false 0#define true 1换符合C99标准的编译器吧,凡是1999年以后出的编译器都行,如vs,gcc....
回复

使用道具 举报

千问 | 2013-10-14 22:40:16 | 显示全部楼层
/*stdbool.h -- Boolean type and values(substitute for missing C99 standard header)public-domain implementation from [EMAIL PROTECTED]implements subclause 7.16 of ISO/IEC 9899:1999 ...
回复

使用道具 举报

千问 | 2013-10-14 22:40:16 | 显示全部楼层
bool改int#include 这一行不要...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行