📄 main.cpp
字号:
#include <fstream>
#include "simulate.h"
void main()
{
std::ofstream fout("simulation.txt");//将输出流定向到文件
Simulate(fout, 540);//模拟银行业务
cout << "The result of simulation has been put into file 'simulation.txt'\n"
<< "Please open the file with notepad to have a view.\n";
system("pause");
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -