ifstream:incomplete type is not allowed

IntelliSense: incomplete type is not allowed

ifstream inputFile;

Need to add this:

#include <fstream>
原文地址:https://www.cnblogs.com/cindy-hu-23/p/4194059.html