22 lines
426 B
C
22 lines
426 B
C
#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;
|
|
}
|