From 719be73360ebf8a65038a90ea82ea4e290759df1 Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Mon, 23 Jun 2014 11:47:32 -0400 Subject: Fixed GTN --- util.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'util.c') diff --git a/util.c b/util.c index 8781739..ef4b62d 100644 --- a/util.c +++ b/util.c @@ -1,5 +1,6 @@ #include #include +#include "strings.h" void allLower(char* str) { for(int i=0;str[i];++i) @@ -18,3 +19,16 @@ void print_string(const char* str) /* print string, slowly */ ++i; } } +void remove_punct(char* buf) +{ + for(int i=0;buf[i];++i) + { + for(int j=0;j