在Ubuntu中用gcc编译如下程序时遇到了如题所示的错误
error: ‘for’ loop initial declarations are only allowed in C99 mode 处理方法
原文:https://www.cnblogs.com/elecyang/p/12657091.html