有两种解决办法:
1:C99 标准(指c语言的,大概就是这个) 不允许在for的内部声明变量,所有变量事先声明就好了
2:setting->compiler and deguger settings->compiler settings->other options下面写下-std=c99
有两种解决办法:
1:C99 标准(指c语言的,大概就是这个) 不允许在for的内部声明变量,所有变量事先声明就好了
2:setting->compiler and deguger settings->compiler settings->other options下面写下-std=c99