From 442921c7bd93e9e111845de6c22f66753b41e11a Mon Sep 17 00:00:00 2001 From: Paul Jungeblut Date: Thu, 6 Oct 2016 00:17:59 +0200 Subject: Renamin sonstiges ot other. --- sonstiges/split.cpp | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 sonstiges/split.cpp (limited to 'sonstiges/split.cpp') diff --git a/sonstiges/split.cpp b/sonstiges/split.cpp deleted file mode 100644 index ea7d5ff..0000000 --- a/sonstiges/split.cpp +++ /dev/null @@ -1,9 +0,0 @@ -vector split(string &s, string delim) { // Zerlegt s anhand aller Zeichen in delim. - vector result; char *token; - token = strtok((char*)s.c_str(), (char*)delim.c_str()); - while (token != NULL) { - result.push_back(string(token)); - token = strtok(NULL, (char*)delim.c_str()); - } - return result; -} \ No newline at end of file -- cgit v1.2.3