如何暂停控制台x秒钟
问题描述:
如何暂停控制台一段时间。
How do you pause the console for a certain amount of seconds.
答
取决于您的工作环境。
对于Native,请致电睡眠 [ ^ ] - 对于您想要的CLR应用程序 Thread :: Sleep [ ^ ]
但是......请注意它会做到这一点:在您指定的时间暂停您的控制台。什么都不会发生......
Depending on what environment you are working in.
For Native, call Sleep[^] - for CLR applications you want Thread::Sleep[^]
But...be aware that it will do just that: pause your console for the time you specify. Nothing else will happen...