aboutsummaryrefslogtreecommitdiff
path: root/c09
diff options
context:
space:
mode:
authorCabergs Charles <cacharle@e-r6-p7.s19.be>2019-07-19 07:04:04 +0200
committerCabergs Charles <cacharle@e-r6-p7.s19.be>2019-07-19 07:04:04 +0200
commit9eef9647b83f32f4bd8086de420cf1caeabf0206 (patch)
tree654ba9e8216c688bb3d6a2e5d67526ae8ec4b874 /c09
parentcffe7f69cf28ab0889bee54a18c3f39101b33f16 (diff)
downloadpiscine-9eef9647b83f32f4bd8086de420cf1caeabf0206.tar.gz
piscine-9eef9647b83f32f4bd8086de420cf1caeabf0206.tar.bz2
piscine-9eef9647b83f32f4bd8086de420cf1caeabf0206.zip
c10 done?, c11 moulinetted (ex04, ex06 need correction)
Diffstat (limited to 'c09')
-rw-r--r--c09/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/c09/main.c b/c09/main.c
index 02c5a61..6c183b7 100644
--- a/c09/main.c
+++ b/c09/main.c
@@ -5,12 +5,12 @@
int main()
{
- char *const str = "3YaZkAP30iGoBWv L asdf h LbpX8Hx FWHwB2u1FH0S5";
+ char *const str = "3YaZkAP30iGoBWv L H asdf h LbpX8Hx FWHwB2u1FH0S5";
char *begin = "\n \t hgonjour";
char *end = "jesuis\n\t hhh";
char *empty = " h bonjour je suis ";
- char *charset = "\n\t";
- char **strs = ft_split(end, charset);
+ char *charset = " H";
+ char **strs = ft_split(str, charset);
printf("tab start\n");
for (int i = 0; strs[i] != 0; i++)
{