代码
std::fstream f; f.open("D:/debugTime.txt", std::ios::app); f << "time of XXX :" << 10 << std::endl; f.close();