准备在整进程中引入Log,方便调试
使用c++文件流ofstream类,来进行写入,写出
Std::fstream file
File.open(“log.txt”);
Log(std::ofstream &file)
{
file<<”开始写日志”<<endle;
}
准备在整进程中引入Log,方便调试
使用c++文件流ofstream类,来进行写入,写出
Std::fstream file
File.open(“log.txt”);
Log(std::ofstream &file)
{
file<<”开始写日志”<<endle;
}