aboutsummaryrefslogtreecommitdiffstats
path: root/OLD/csci4061/091420_breakout/name.c
diff options
context:
space:
mode:
Diffstat (limited to 'OLD/csci4061/091420_breakout/name.c')
-rw-r--r--OLD/csci4061/091420_breakout/name.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/OLD/csci4061/091420_breakout/name.c b/OLD/csci4061/091420_breakout/name.c
new file mode 100644
index 0000000..97c2a9d
--- /dev/null
+++ b/OLD/csci4061/091420_breakout/name.c
@@ -0,0 +1,8 @@
+#include "include/main.h"
+#include "include/name.h"
+
+void getName(char * name) {
+ printf("Enter your name: ");
+ fgets(name, maxLen, stdin);
+ fflush(stdin);
+} \ No newline at end of file