diff options
| author | Charles <sircharlesaze@gmail.com> | 2019-07-17 19:30:52 +0200 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2019-07-17 19:30:52 +0200 |
| commit | 880102ae9358db130ef67cc9a7177a1e1de76875 (patch) | |
| tree | b5929722cf123e7c1701f4bc164a905f79510bf5 /c07/main.c | |
| parent | dcf89e9366538c70fc08ceaabd5b770f5d5b890d (diff) | |
| download | piscine-880102ae9358db130ef67cc9a7177a1e1de76875.tar.gz piscine-880102ae9358db130ef67cc9a7177a1e1de76875.tar.bz2 piscine-880102ae9358db130ef67cc9a7177a1e1de76875.zip | |
c10 tail stuff, c11 start, c12/c13 files
Diffstat (limited to 'c07/main.c')
| -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]); |
