標頭檔加入 #include <ctime> 或是 #include<time.h>. 程式碼如:. int j=0;. clock_t a,b; //建立clock_t變數(長整數形態)以記錄時間,以毫秒(0.001 ...
確定! 回上一頁