add libft, add gitignore
This commit is contained in:
18
libft/ft_isalpha.c
Executable file
18
libft/ft_isalpha.c
Executable file
@ -0,0 +1,18 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* ft_isalpha.c :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: tomoron <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2023/07/13 18:10:01 by tomoron #+# #+# */
|
||||
/* Updated: 2023/10/30 12:14:17 by tomoron ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
int ft_isalpha(int c)
|
||||
{
|
||||
if (!((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z')))
|
||||
return (0);
|
||||
return (1);
|
||||
}
|
Reference in New Issue
Block a user