Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
那是因为FILE不是原始类型;它包含在stdio.h标题中。所以你需要#include <stdio.h>在你的文件中包含它。
FILE
stdio.h
#include <stdio.h>