aboutsummaryrefslogtreecommitdiff
path: root/exam01/subjects/5-0-ft_split/subject.en.txt
diff options
context:
space:
mode:
Diffstat (limited to 'exam01/subjects/5-0-ft_split/subject.en.txt')
-rw-r--r--exam01/subjects/5-0-ft_split/subject.en.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/exam01/subjects/5-0-ft_split/subject.en.txt b/exam01/subjects/5-0-ft_split/subject.en.txt
new file mode 100644
index 0000000..97375e9
--- /dev/null
+++ b/exam01/subjects/5-0-ft_split/subject.en.txt
@@ -0,0 +1,14 @@
+Assignment name : ft_split
+Expected files : ft_split.c
+Allowed functions: malloc
+--------------------------------------------------------------------------------
+
+Write a function that takes a string, splits it into words, and returns them as
+a NULL-terminated array of strings.
+
+A "word" is defined as a part of a string delimited either by spaces/tabs/new
+lines, or by the start/end of the string.
+
+Your function must be declared as follows:
+
+char **ft_split(char *str);