diff options
| author | Cabergs Charles <cacharle@e-r6-p7.s19.be> | 2019-07-17 19:30:52 +0200 |
|---|---|---|
| committer | Cabergs Charles <cacharle@e-r6-p7.s19.be> | 2019-07-17 19:30:52 +0200 |
| commit | cffe7f69cf28ab0889bee54a18c3f39101b33f16 (patch) | |
| tree | b5929722cf123e7c1701f4bc164a905f79510bf5 /c07 | |
| parent | cb9179cf990257927b7d259ee3e0fcbd3d892049 (diff) | |
| download | piscine-cffe7f69cf28ab0889bee54a18c3f39101b33f16.tar.gz piscine-cffe7f69cf28ab0889bee54a18c3f39101b33f16.tar.bz2 piscine-cffe7f69cf28ab0889bee54a18c3f39101b33f16.zip | |
c10 tail stuff, c11 start, c12/c13 files
Diffstat (limited to 'c07')
| -rw-r--r-- | c07/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,5 @@ #include <stdio.h> +#include <limits.h> #include <stdlib.h> #include <string.h> #include "ex00/ft_strdup.c" @@ -30,7 +31,7 @@ int main() printf("---------------\n"); int *rult; - int len = ft_ultimate_range(&rult, -4, 15); + int len = ft_ultimate_range(&rult, 0, INT_MAX); printf("len(%d): ", len); for (int i = 0; i < len; i++) printf("%d ", rult[i]); |
