不想忘却
idleness
全部博文(52)
2010年(1)
2009年(24)
2008年(27)
xszghl
lx131411
dixin01
cutrain2
feiyelov
tringger
干扰弹
chendian
HJonny
分类: WINDOWS
2009-06-10 17:01:37
#include "stdafx.h" #define WORKTIME 10 #define DELAY WORKTIME int _tmain(int argc, _TCHAR* argv[]) { //DWORD i; DWORD start,now; start=GetTickCount(); while(1){ now=GetTickCount(); if(now-start<WORKTIME) continue; else{ Sleep(DELAY); start=GetTickCount(); } } return 0; }
上一篇:玩VIM之记录
下一篇:java基础笔记
chinaunix网友2009-12-30 14:10:57
大哥哥可以喝你联系吗 我想在你那里学点东西 加我qq335901004
登录 注册