1.cfree5 无论编译什么都出现Error] gcc.exe: 5\mingw\include: No such file or,
修改他安装的默认文件夹名称"C-Free 5"
编译工具不能读取这样的文件名,从路径看 5\mingw...找不到,那把安装文件目录换的简单点如cfree就能解决问题
2.C-free提示warning: no newline at end of file
详见博客http://blog.youkuaiyun.com/weilaiqing/article/details/6929662
3. error: 'for' loop initial declaration used outside C99 mode
for(int i=0;i<26;i++){
if(i<10){
digitNo[i]=0;
}
charNo[i]=0;
}
需要在for循环外面声明变量i