| 12345678910111213141516171819202122 |
- /* ************************************************************************** */
- /* */
- /* ::: :::::::: */
- /* ft_putnbr_base.c :+: :+: :+: */
- /* +:+ +:+ +:+ */
- /* By: bchanot <bchanot@student.42.fr> +#+ +:+ +#+ */
- /* +#+#+#+#+#+ +#+ */
- /* 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);
- }
|