error C2275: 'FILE' : illegal use of this type as an expression
.c文件中将定义放在其他语句前边即可解决。
比如
FILE* pFile = fopen("xxx.xml","rb");
拆成
FILE* pFile;
pFile = fopen("apabi.xml","rb");
然后
FILE* pFile;//放文件前边集中声明各种变量的地方即可。
c语言的特殊之处。
error C2275: 'FILE' : illegal use of this type as an expression
.c文件中将定义放在其他语句前边即可解决。
比如
FILE* pFile = fopen("xxx.xml","rb");
拆成
FILE* pFile;
pFile = fopen("apabi.xml","rb");
然后
FILE* pFile;//放文件前边集中声明各种变量的地方即可。
c语言的特殊之处。