?? get_time.win32.c
字號:
#include <stdio.h>#include <time.h>double get_time(void)//some code taken from Victor Shoup's NTL library{ static clock_t last_clock = 0; static double acc = 0; clock_t this_clock; double delta; this_clock = clock(); if (last_clock == 0) { delta = 0; } else { delta = (this_clock - last_clock)/((double)CLOCKS_PER_SEC); if (delta < 0) delta = 0; } acc += delta; last_clock = this_clock; return acc;}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -