Implement pause function

This commit is contained in:
2015-03-26 15:05:03 -04:00
parent 6e4bcdf4a3
commit c0d50a53e2
2 changed files with 9 additions and 0 deletions

View File

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

View File

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