vc++
好同学大雷子
这个作者很懒,什么都没留下…
展开
-
vc++获取事件的方法
//方案— 优点:仅使用C标准库;缺点:只能精确到秒级 #include #include int main( void ) { time_t t = time(0); char tmp[64]; strftime( tmp, sizeof(tmp), "%Y/%m/%d %X %A 本年第%j天 %z",localtime(&t) );转载 2014-04-07 11:08:25 · 521 阅读 · 0 评论 -
回调函数使用方法
void CALLBACK TimeProc(UINT wTimerID, UINT msg, DWORD dwUser, DWORD dwl, DWORD dw2);转载 2014-04-08 22:47:56 · 497 阅读 · 0 评论