init
This commit is contained in:
25
C/c08v1/ex01/ft_boolean.h
Normal file
25
C/c08v1/ex01/ft_boolean.h
Normal file
@ -0,0 +1,25 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* ft_boolean.h :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: cchauvet <cchauvet@student.42angoulem +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2022/07/26 19:25:57 by cchauvet #+# #+# */
|
||||
/* Updated: 2022/08/03 17:22:14 by cchauvet ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#ifndef FT_BOOLEAN_H
|
||||
# define FT_BOOLEAN_H
|
||||
# include <unistd.h>
|
||||
|
||||
typedef int t_bool;
|
||||
# define TRUE 1
|
||||
# define FALSE 0
|
||||
# define SUCCESS 0
|
||||
# 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