42-archive/42-piscine-c/d07/ex05/main.c
2016-08-25 20:50:28 +02:00

19 lines
321 B
C

#include <unistd.h>
void ft_print_words_tables(char **tab);
char **ft_split_whitespaces(char *str);
void ft_putchar(char c)
{
write(1, &c, 1);
}
int main()
{
char *phrase = "\n\n thi s is a\t \t test phrase\n \n\t";
char **table;
table = ft_split_whitespaces(phrase);
ft_print_words_tables(table);
return 0;
}