add day 14 and try part2 with mlx (didn't work)
This commit is contained in:
22
2024/14/libft/ft_strlen.c
Executable file
22
2024/14/libft/ft_strlen.c
Executable file
@ -0,0 +1,22 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* ft_strlen.c :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: tomoron <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2023/10/30 12:34:41 by tomoron #+# #+# */
|
||||
/* Updated: 2023/10/31 14:53:10 by tomoron ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
#include "libft.h"
|
||||
|
||||
size_t ft_strlen(const char *str)
|
||||
{
|
||||
unsigned int n;
|
||||
|
||||
n = 0;
|
||||
while (str[n])
|
||||
n++;
|
||||
return (n);
|
||||
}
|
Reference in New Issue
Block a user