debut ecriture main part2

This commit is contained in:
hugodu69
2019-12-12 01:19:03 +01:00
parent ca5eb2a3dd
commit dc4502f577
2 changed files with 80 additions and 60 deletions

21
srcs/part2/main.c Normal file
View File

@@ -0,0 +1,21 @@
#include "libft.h"
#include <stdio.h>
int main()
{
printf("itoa: %s\n", ft_itoa(1338));
char **tab = ft_split(" er era zeraze a", ' ');
int i = 0;
while (tab[i])
{
write(1, "fg", 2);
printf("split: %s\n", tab[i++]);
}
// printf("strjoin: %s\n", ft_strjoin(1338));
// printf("strmapi: %s\n", ft_strmapi(1338));
// printf("substr: %s\n", ft_substr(1338));
// printf("strtrim: %s\n", ft_strtrim(1338));
return 0;
}