在codeblocks的settings中选择 compiler and debugger,选择compile setting 在其中有other options,在里面写上-std=c99 这样就可以使用c99标准来编译程序了 相关文章: 2021-05-09 2022-12-23 2022-12-23 2021-11-02 2022-12-23 2022-02-22 2021-09-23