关于ofstream文件流的问题
bool OpenFileForWrite() { outfile.clear(); outfile.open(filePath.c_str(),std::ostream::out|std::ostream::binary); if (!outfile) { return false; } return true; }