From edecc4b024ceb59b245f888f432018a4f1b7a02c Mon Sep 17 00:00:00 2001 From: Paul Jungeblut Date: Mon, 10 Oct 2016 21:55:09 +0200 Subject: Typesetting other section. --- other/split.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'other/split.cpp') diff --git a/other/split.cpp b/other/split.cpp index ea7d5ff..5e3966c 100644 --- a/other/split.cpp +++ b/other/split.cpp @@ -1,4 +1,5 @@ -vector split(string &s, string delim) { // Zerlegt s anhand aller Zeichen in delim. +// Zerlegt s anhand aller Zeichen in delim. +vector split(string &s, string delim) { vector result; char *token; token = strtok((char*)s.c_str(), (char*)delim.c_str()); while (token != NULL) { @@ -6,4 +7,4 @@ vector split(string &s, string delim) { // Zerlegt s anhand aller Zeiche token = strtok(NULL, (char*)delim.c_str()); } return result; -} \ No newline at end of file +} -- cgit v1.2.3