init
This commit is contained in:
14
exam-basedir05/subjects/ft_split/subject.en.txt
Normal file
14
exam-basedir05/subjects/ft_split/subject.en.txt
Normal file
@@ -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);
|
||||
Reference in New Issue
Block a user