How to use C11 standard in Code::Blocks
问题 Like the Title says I need to make code::blocks to work with C11 and I can't figure out how to do it. I went to settings => compiler settings => Other options and I added -std=c11 and tried also with -std=gnu11 , both doesn't seems to work. I compiled gcc-5.2 and then I changed the default compiler (gcc-4.9) and still no result. When I try to compile the following program: #include<stdio.h> int main(void){ int arr[] = {0,1,2,3,4}; for(int i=0;i<5;i++){ printf("%d ",arr[i]); } return 0; } I