#include #define ESC 27 main() { unsigned long start, ticks; unsigned char key, aux; start = fg_getclock(); fg_getkey(&key,&aux); while (key != ESC) { ticks = fg_getclock(); printf("%lu ticks since midnight.\n",ticks); printf("%lu ticks since start of program.\n\n",ticks-start); fg_getkey(&key,&aux); } }