Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在我的程序结束时,我提示用户按任意键重复该程序。
要启用此选项,我需要首先重置一些变量以防止发生错误。之后,我可以安全地跳到程序的开头。
有没有办法从头开始重新启动程序,这样我就可以避免重新开始时可能出现的错误?