final maybe

This commit is contained in:
Camille Chauvet 2022-10-04 23:01:49 +02:00
parent d4bc0e05a5
commit 26b7aed203
3 changed files with 2 additions and 1 deletions

BIN
a.out

Binary file not shown.

BIN
libft.h.gch Normal file

Binary file not shown.

3
main.c
View File

@ -6,7 +6,7 @@
/* By: cchauvet <cchauvet@student.42angoulem +#+ +:+ +#+ */ /* By: cchauvet <cchauvet@student.42angoulem +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2022/10/04 13:56:50 by cchauvet #+# #+# */ /* Created: 2022/10/04 13:56:50 by cchauvet #+# #+# */
/* Updated: 2022/10/04 21:20:44 by cchauvet ### ########.fr */ /* Updated: 2022/10/04 22:58:20 by cchauvet ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@ -24,6 +24,7 @@ int main(int argc, char **argv)
a = argv[1]; a = argv[1];
c = argv[2][0]; c = argv[2][0];
splitted = ft_split(a, c); splitted = ft_split(a, c);
//splitted = ft_split("lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse", ' ');
while (*splitted != NULL) while (*splitted != NULL)
{ {
puts(*splitted); puts(*splitted);