- 博客(2)
- 收藏
- 关注
原创 【c++】
system("pause")可以暂停一下界面,便于观察执行结果; system("cls")功能是可以清屏; break可以用于while()、for()、do...while(),switch() 跳出while循环,当index = 0就结束循环 srand((unsigned int)time(NULL)); while (true) { int index = rand() % 10; if (index == 0) { cout << "退出循环" &
2021-12-05 18:14:59 66
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人