system() 函数用于执行命令行的内置指令

// title: 设置命令行的标题栏名称

system(“title titlename”);

// color: 设置控制台当前的前景色和背景色

system(“color 0F”);

// 暂停程序,等待用户键入任何的数据再继续执行

system(“pause”);