代码块中的延迟时间 [英] delay time in codeblocks
本文介绍了代码块中的延迟时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我如何在代码块中的c ++中使用延迟?(时间延迟)什么标题?
以及命令的顺序?
how can i use delay in c++ in code blocks ?(time delay)what header?
and what the Order??
推荐答案
也许您可以在这里找到一些 ^ ]
我以为你想设置计时器持续10秒钟或类似的时间.
Maybe u can find something here http://www.cplusplus.com/reference/clibrary/ctime/[^]
i thought u wanted to set timers p.e. for 10 seconds or something like this..
U可以使用SetTimer(..)和KillTimer(..);
您必须使用ID定义计时器,然后您才能使用它.
http://msdn.microsoft.com/de-de/library/49313fdf% 28VS.80%29.aspx [ ^ ]
U can use SetTimer(..) and KillTimer(..);
U have to define the Timer with an ID and than u can use it.
http://msdn.microsoft.com/de-de/library/49313fdf%28VS.80%29.aspx[^]
这篇关于代码块中的延迟时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文