debut ecriture main part2
This commit is contained in:
21
srcs/part2/main.c
Normal file
21
srcs/part2/main.c
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user