Error:incomplete type is not allowed

xiaoxiao2021-02-28  63

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

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

转载请注明原文地址: https://www.6miu.com/read-74697.html

最新回复(0)