如何在C ++中使用计时器 [英] how to use timer in c++

查看:78
本文介绍了如何在C ++中使用计时器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当您使用手机之类的程序进行通话时,必须有一个计时器.
我该怎么做?

解决方案

传统上,通过获取开始时间,结束时间,并从后者减去前者

when u program like mobile phone and whne u are calling there must be a timer.
how can I do that??

解决方案

traditionally, by getting the time at the start, the time at the end, and subtracting the former from the latter


这篇关于如何在C ++中使用计时器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆