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;
}
#include <stdbool.h>
for example
#include <stdio.h>
#include <stdbool.h>
int main(){
??????? bool x = true;
??????? if(x){
??????????????? printf("pppppp");
??????? }
??????? return 0;
}
2019-10-08
舉報
2019-10-12
不引入也可以使用啊