diff options
| author | Charles <sircharlesaze@gmail.com> | 2019-07-19 07:04:04 +0200 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2019-07-19 07:04:04 +0200 |
| commit | 8b6e91bdb56bc01a588718472546f2a88e750b48 (patch) | |
| tree | 654ba9e8216c688bb3d6a2e5d67526ae8ec4b874 /c09 | |
| parent | 880102ae9358db130ef67cc9a7177a1e1de76875 (diff) | |
| download | piscine-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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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++) { |
