討論串[問題] 請問c++中的 clock() 問題
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
幫你重新縮排一遍.... if (iParam3>5) {. for (t=0; t<1000 ;t++) {. t1 = clock();. Sleep(100);. printf("%f\n", (t1)/(double)(CLOCKS_PER_SEC));. }. }. 所以如果要 print
(還有728個字)
內容預覽:
開發平台(Platform): (Ex: VC++, GCC, Linux, ...). vc++ 6.0. 額外使用到的函數庫(Library Used): (Ex: OpenGL, ...). 問題(Question):. if(iParam3>5). {. for (t=0; t<1000 ;
(還有218個字)
首頁
上一頁
1
下一頁
尾頁