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

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>
 
 
 
 
 
 
 
 

你可能感兴趣的:(error: 'FILE' undeclared (first use in this function))