📄 timermac.c
字号:
/************************************************************************* (c) Copyright 1993 University of Tennessee All Rights Reserved *************************************************************************//*-------------------------------------------------------------------------- * Timing Sample Program * * This programs uses the "TickCount" Macintosh Tool which gives the * system time in 1/60th of a second. It computes the elapsed time * and converts it into min/sec units. * *------------------------------------------------------------------------*/ #include <stdio.h> #include <Packages.h>float timer(){ return( (float) TickCount() / 60.0); }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -