ft_puttab.c 1012 B

12345678910111213141516171819202122
  1. /* ************************************************************************** */
  2. /* */
  3. /* ::: :::::::: */
  4. /* ft_puttab.c :+: :+: :+: */
  5. /* +:+ +:+ +:+ */
  6. /* By: mazimi <mazimi@student.42.fr> +#+ +:+ +#+ */
  7. /* +#+#+#+#+#+ +#+ */
  8. /* Created: 2015/02/18 20:54:35 by mazimi #+# #+# */
  9. /* Updated: 2015/02/18 21:29:48 by mazimi ### ########.fr */
  10. /* */
  11. /* ************************************************************************** */
  12. #include "../libft.h"
  13. void ft_puttab(char **tab)
  14. {
  15. int i;
  16. i = -1;
  17. while (tab[++i] != NULL)
  18. ft_putendl(tab[i]);
  19. }