22 lines
1001 B
C
22 lines
1001 B
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* ft_tablen.c :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: lflandri <lflandri@student.42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2022/08/02 11:04:59 by cchauvet #+# #+# */
|
|
/* Updated: 2022/08/02 14:30:16 by lflandri ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
unsigned int ft_tablen(char **tab)
|
|
{
|
|
unsigned int i;
|
|
|
|
i = 0;
|
|
while (tab[i][0] != 0)
|
|
i++;
|
|
return (i);
|
|
}
|