「C++小游戏教程」基本技巧(2)——系统 DOS 命令
0. 引言 「C++小游戏教程」基本技巧(1)——随机化在 (1) 中,我在使用 random_shuffle() 时加了一个 system("pause");。其中 system() 是系统发出 DOS 命令的函数,原型为 int system(char *command);。我们今天就来谈谈这个...
0. 引言 「C++小游戏教程」基本技巧(1)——随机化在 (1) 中,我在使用 random_shuffle() 时加了一个 system("pause");。其中 system() 是系统发出 DOS 命令的函数,原型为 int system(char *command);。我们今天就来谈谈这个...