?? clock.c
字號:
#include <stdio.h>
#include <time.h>
#include <dos.h> // Contains the delay prototype
void main (void)
{
clock_t processor_time;
printf("Processor time consumed %ld\n",
clock() / (long) CLK_TCK);
delay(2000);
printf("Processor time consumed %ld\n",
(long) clock() / (long) CLK_TCK);
delay(3000);
printf("Processor time consumed %ld\n",
clock() / (long) CLK_TCK);
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -