carwashmain.cpp
来自「一个模拟洗车场的小程序」· C++ 代码 · 共 18 行
CPP
18 行
#include <iostream>
#include <string>
#include "CarWash.h"
using namespace std;
int main()
{
const string CLOSE_WINDOW_PROMPT="please press the Enter key to close this output window";
CarWash carWash;
carWash.get_mean();
carWash.runSimulation ();
carWash.printResult ();
cout<<endl<<endl<<CLOSE_WINDOW_PROMPT;
cin.get();
cin.get ();
return 0;
}//main
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?