ifstream:incomplete type is not allowed IntelliSense: incomplete type is not allowed ifstream inputFile; Need to add this: #include <fstream>