Implement pause function

master
Alinson S. Xavier 11 years ago
parent 6e4bcdf4a3
commit c0d50a53e2

@ -35,3 +35,10 @@ void time_printf(const char *fmt, ...)
fflush(stdout); fflush(stdout);
} }
void pause()
{
printf("Prese [Enter] to continue...");
fflush(stdout);
getchar();
}

@ -60,4 +60,6 @@ double get_current_time(void);
double get_real_time(); double get_real_time();
void pause();
#endif #endif