编程论坛
»
C++论坛
»
VC++论坛
» 怎样输出时间差
yuye851029
发表于 2008-5-27 08:21
怎样输出时间差
我用以下程序得到一时间差,请问用什么函数可以在指定位置输出?
CTime tm1,tm2;
tm1=CTime::GetCurrentTime();
tm2=CTime::GetCurrentTime();
CTimeSpan ts=tm2-tm1;
long lts = ts.GetTotalSeconds();//用的时间:秒
vfdff
发表于 2008-5-27 13:44
回复 1# yuye851029 的帖子
指定位置 什么意思 ?
页:
[1]
编程论坛