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

来源:互联网 发布:暗黑破坏神3 数据库 编辑:程序博客网 时间:2024/05/01 13:53

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>

原创粉丝点击