init
This commit is contained in:
26
C/c08/ex01/ft_boolean.h
Normal file
26
C/c08/ex01/ft_boolean.h
Normal file
@ -0,0 +1,26 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* ft_boolean.h :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: cchauvet <cchauvet@student.42angoulem +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2022/07/26 19:25:57 by cchauvet #+# #+# */
|
||||
/* Updated: 2022/07/27 19:02:52 by cchauvet ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#ifndef FT_BOOLEAN_H
|
||||
# define FT_BOOLEAN_H
|
||||
# include <unistd.h>
|
||||
|
||||
typedef t_bool int;
|
||||
|
||||
# define TRUE 1
|
||||
# define FALSE 0
|
||||
# define SUCCESS 1
|
||||
# define EVEN(nbr) nbr % 2 == 0
|
||||
# define EVEN_MSG "I have an even number of arguments.\n"
|
||||
# define ODD_MSG "I have an odd number of arguments.\n"
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user