incomplete type is not allowed ofstream

错误:

incomplete type is not allowed

解决方案:

#include<fstream>

你可能感兴趣的:(incomplete type is not allowed ofstream)