aboutsummaryrefslogtreecommitdiff
path: root/c09
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2019-07-19 07:04:04 +0200
committerCharles <sircharlesaze@gmail.com>2019-07-19 07:04:04 +0200
commit8b6e91bdb56bc01a588718472546f2a88e750b48 (patch)
tree654ba9e8216c688bb3d6a2e5d67526ae8ec4b874 /c09
parent880102ae9358db130ef67cc9a7177a1e1de76875 (diff)
downloadpiscine-8b6e91bdb56bc01a588718472546f2a88e750b48.tar.gz
piscine-8b6e91bdb56bc01a588718472546f2a88e750b48.tar.bz2
piscine-8b6e91bdb56bc01a588718472546f2a88e750b48.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++)
{