比如代碼如下:#include<stdio.h>
#include<stdbool.h>
bool?Bool(){
return?true;
}?
int?main()
{
????if(Bool()){
???? printf("Ok");
}
????return?0;
}在 DevC++ 里面 可以正確運行, 并輸出,OK但是在 VS2010 里面出現(xiàn): ?fatal error C1083: 無法打開包括文件:“stdbool.h”: No such file or directory怎樣可以解決這個問題?是自己添加這個頭文件嗎? 怎樣添加
- 1 回答
- 0 關(guān)注
- 8680 瀏覽
添加回答
舉報
0/150
提交
取消