From 6992c1f5cde1b74f8f6d50a54a5ac8b7fd09fbaf Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Sun, 22 Jun 2014 20:49:59 -0400 Subject: Added Global Themonuclear War GAME! WHEEgit status --- util.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'util.c') diff --git a/util.c b/util.c index a02150e..8781739 100644 --- a/util.c +++ b/util.c @@ -1,5 +1,12 @@ #include #include +void allLower(char* str) +{ + for(int i=0;str[i];++i) + { + str[i]=tolower(str[i]); + } +} void print_string(const char* str) /* print string, slowly */ { int i=0; -- cgit v1.1