added finished algorithm
merged algorithm from other personnal repo
This commit is contained in:
18
libft/srcs/ft_issign.c
Normal file
18
libft/srcs/ft_issign.c
Normal file
@@ -0,0 +1,18 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* ft_issign.c :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: tmaze <tmaze@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2019/02/25 16:18:54 by tmaze #+# #+# */
|
||||
/* Updated: 2019/02/25 16:19:13 by tmaze ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include "libft.h"
|
||||
|
||||
int ft_issign(char c)
|
||||
{
|
||||
return (c == '+' || c == '-');
|
||||
}
|
Reference in New Issue
Block a user