为了账号安全,请及时绑定邮箱和手机立即绑定

c99之后引入#include <stdbool.h>可以使用bool

#include <stdbool.h>


for example

#include <stdio.h>
#include <stdbool.h>

int main(){


        bool x = true;
        if(x){
                printf("pppppp");
        }
        return 0;
}

正在回答

1 回答

不引入也可以使用啊

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
C++远征之起航篇
  • 参与学习       290962    人
  • 解答问题       817    个

C++亮点尽在其中,本课程是在C语言基础上的一个延伸,得以升华

进入课程

c99之后引入#include <stdbool.h>可以使用bool

我要回答 关注问题
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号