现在的位置: 首页 > 综合 > 正文

error: ‘FILE’ undeclared (first use in this function)

2013年06月25日 ⁄ 综合 ⁄ 共 188字 ⁄ 字号 评论关闭

error: 'FILE' undeclared (first use in this function)

今天在打trace调试底层代码的时候添加:

{
	FILE* fp = fopen("/sdcard/gaomatrix.txt","a+");
	if(fp)
	{
	    fprintf(fp, "XXE_RefMode_A1 \n");
	    fclose(fp);
	}
}
原来是少添加了:#include <stdio.h>




抱歉!评论已关闭.