谁能来帮我解决一下C++的这个循环问题啊
来源:百度知道 编辑:UC知道 时间:2024/04/29 00:09:28
大家来看看,我的程序一点都没错的,但是运行完一次就输出press any key to return,我想知道怎么才能让它运行完了就回到主菜单啊,
代码如下
faint,the code is too long to upload!
it is limited in 1000 Byte
代码如下
faint,the code is too long to upload!
it is limited in 1000 Byte
WHERE IS THE CODE??
不要在开发环境里运行这个程序, 也就是不要使用ctrl+F5,运行程序, 在命令提示符下运行这个程序。
“press any key to return”,这句话是,VC++帮你显示的,以便让你看到程序运行的结果,否则程序运行一闪而过,你啥也看不见。
使用F5启动程序,不会有press any key to return
在dos下运行
代码呢?