Error:incomplete type is not allowed

来源:互联网 发布:网络女神雅典娜 种子 编辑:程序博客网 时间:2024/04/27 16:24

今天在定义ifstream 时候后面的变量总是提示Error:incomplete type is not allowed

后来才明白这是缺少了#include<fstream>头文件,加上就好了


0 0