Added memorybook to parsing and cleaned most of the files

This commit is contained in:
Philippe BLAGOJEVIC
2022-05-04 14:38:34 +02:00
parent e564e7c8e9
commit 362668fe35
231 changed files with 11474 additions and 405 deletions

20
libs/libft/srcs/ft_sign.c Normal file
View File

@@ -0,0 +1,20 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_sign.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: pblagoje <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/05/04 14:14:19 by pblagoje #+# #+# */
/* Updated: 2022/05/04 14:14:25 by pblagoje ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_sign(int i)
{
if (i < 0)
return (-1);
return (1);
}