RoyalGao

要像一棵树栽在溪水旁,按时侯结果子,叶子也不枯干(诗篇)。
Mail: gaoquanning@163.com

导航

2013年11月21日 #

GetTickCount

摘要: GetTickCount,函数。GetTickCount返回(retrieve)从操作系统启动到现在所经过(elapsed)的毫秒数,它的返回值是DWORD。函数原型:DWORD GetTickCount(void);C++版CString s;DWORD k=::GetTickCount(); //获取毫秒级数目int se = k/1000; // se为秒cout#include #include #include using namespace std;int main(){int i, k, r;for (i = 0; i < 10; i++){srand (GetTickCo 阅读全文

posted @ 2013-11-21 20:11 RoyalGao 阅读(353) 评论(0) 推荐(0) 编辑