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)
今天在打trace调试底层代码的时候添加:
{ FILE* fp = fopen("/sdcard/gaomatrix.txt","a+"); if(fp) { fprintf(fp, "XXE_RefMode_A1 \n"); fclose(fp); } }
原来是少添加了:#include <stdio.h>