From ca9e46c937e75df43d2f80f0d957fabb07892c29 Mon Sep 17 00:00:00 2001 From: Ben Burwell Date: Mon, 29 Apr 2013 16:13:34 -0400 Subject: Init --- loading.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 loading.h (limited to 'loading.h') diff --git a/loading.h b/loading.h new file mode 100644 index 0000000..6aa43de --- /dev/null +++ b/loading.h @@ -0,0 +1,24 @@ +/** + * Localchat + * Ben Burwell + * + * Loading display + */ + +void loading() { + + printf(" Loading... 3"); + fflush(stdout); + sleep(1); + + printf("\r Loading... 2"); + fflush(stdout); + sleep(1); + + printf("\r Loading... 1"); + fflush(stdout); + sleep(1); + + printf("\r Loading... Done.\n\n"); + +} \ No newline at end of file -- cgit v1.2.3