dev c++怎么设置编译器,使其能支持c11
dev c++怎么设置编译器,使其能支持c11在学C语言,书上说检验编译器是否支持C11可选函数的代码为:
程序代码:#include<stdio.h>
int main(void)
{
#if defined __STDC_LIB_EXT1_
printf("Optional functions are defined.\n");
#else
printf("Optional functions are not defined.\n");
#endif
return 0;
}但是输出为Optional functions are not defined.调整编译器按网上说的,加-std=c++11命令,但是还是不行,我的编译器为DEV C++ 5.11的,不懂怎么调,使其能支持C11








