From ccd82f53b74a1bac542d66eb7320fd2be5a9fd5a Mon Sep 17 00:00:00 2001 From: Matthew Strapp Date: Tue, 15 Sep 2020 13:16:09 -0500 Subject: add first breakout --- csci4061/091420_breakout/name.c | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 csci4061/091420_breakout/name.c (limited to 'csci4061/091420_breakout/name.c') diff --git a/csci4061/091420_breakout/name.c b/csci4061/091420_breakout/name.c new file mode 100644 index 0000000..97c2a9d --- /dev/null +++ b/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 -- cgit v1.2.3