诸暨新泽苑:press any key to continue
来源:百度文库 编辑:偶看新闻 时间:2024/05/06 16:37:30
你在VC++6.0中编写一个"Hello,World!",编译,点击感叹号运行,输出"Hello,World!"后会输出这么一句话"press any key to continue",屏幕就会定格在那里.你按任意键,这个黑窗口就会消失了.奇怪的就是,当你找到这个hello.exe双击运行的时候,只看到有点东西闪了一下,是发生了点事情,但就是不知道他发生了什么事情.经过我的分析,我是这样想的."press any key to continue"这句话是出自cmd的一个命令pause(暂停),也就是说当你在cmd中执行这句话的时候他会显示这句话,当你点击任意键的时候他就退出这个命令(不是退出cmd),当然,如果你的是中文版的那就得翻译成中文了(请按任意键继续. . .).既然这句话是出自这个命令.那就有思想了.我的思路是这样的.当你点击(!)运行hello.exe的时候它会接着运行下一个命令(pause),验证如下:预备知识:1.在运行窗口中输入cmd会出现一个黑窗口(废话!!)2.cmd这命令可以接受参数(很重要!!!).3.cmd接受参数的方式是: cmd \c hello.exe //其中在\c是传输个cmd命令的参数.c的意思command的意思.4.联系运行两个命令的方法.使用"&"符号.类似这样用 1.exe & 2.exe 意思就是当执行完1.exe后接着就是"无条件"(这三个字很重要)运行下一个命令.有了前面的四条预备知识就可以来验证我的想法了.在运行窗口中输入 cmd \c hello.exe & pause 见证奇迹的一刻发生了.你自己去搞吧!我就说到这里了.qq:653748856
PRESS ANY KEY TO RESTART
Press any key to restare
press any key to contince
press any key to boot from cd
disk error press any key to restart ?
disk error press any key to restart
press any key
systen hardware abnormsl,press any key to comtinue..是什么意思
HD Recovery Card not found,Press any key to Reboot
cmos check sum error! press any key to continue!
press any key to terminate the current application什么意思
请教NTLDR is missing press any key to restart 是什么意思?
NTLDR is missing press any key to restart
file not found press any key to return 是什么意思?
启动关光盘添加“press any key to ...."
NTLDR is missing press any key to restart
remove disks or oter media press any key to restart
NTLDR is missing Press any key to restart是怎么回事
system hardware abnormal,press any key to contime
Invalid system disk,press any key to continue
NTLPR is missing press any key to restart
HD Recovery Card not found,press any key to reboot
file not found press any key to return ...
remove disksor other media press any key to restart