Makefile. header file and 4 functions

This commit is contained in:
David Gailleton
2025-11-05 11:13:34 +01:00
commit e06b98052a
7 changed files with 192 additions and 0 deletions

18
ft_isdigit.c Normal file
View File

@@ -0,0 +1,18 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isdigit.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: dgaillet <dgaillet@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/11/05 09:57:01 by dgaillet #+# #+# */
/* Updated: 2025/11/05 10:45:10 by dgaillet ### ########lyon.fr */
/* */
/* ************************************************************************** */
int ft_isdigit(int c)
{
if (c > '0' && c < '9')
return (1);
return (0);
}