/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_putnbr_base.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: bchanot +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2017/02/02 02:30:08 by bchanot #+# #+# */ /* Updated: 2017/02/02 02:31:34 by bchanot ### ########.fr */ /* */ /* ************************************************************************** */ #include "libft.h" void ft_putnbr_base(int value, int base) { char *str; str = ft_itoa_base(value, base); ft_putstr(str); ft_memdel((void **)&str); }