From 03b4d8a03fb1b2cf93aaac0dc9d317ff9c2ba705 Mon Sep 17 00:00:00 2001 From: Charles Date: Mon, 8 Jul 2019 12:12:58 +0200 Subject: c05/c06 normed, c07/c08 begining --- c04/ex04/ft_putnbr_base.c | 7 ++----- c04/ft_atoi.o | Bin 1300 -> 0 bytes c04/ft_putnbr.o | Bin 1212 -> 0 bytes c04/ft_putnbr_base.o | Bin 1756 -> 0 bytes c04/ft_putstr.o | Bin 708 -> 0 bytes c04/ft_strlen.o | Bin 652 -> 0 bytes 6 files changed, 2 insertions(+), 5 deletions(-) delete mode 100644 c04/ft_atoi.o delete mode 100644 c04/ft_putnbr.o delete mode 100644 c04/ft_putnbr_base.o delete mode 100644 c04/ft_putstr.o delete mode 100644 c04/ft_strlen.o (limited to 'c04') diff --git a/c04/ex04/ft_putnbr_base.c b/c04/ex04/ft_putnbr_base.c index da6fb22..bd1dca0 100644 --- a/c04/ex04/ft_putnbr_base.c +++ b/c04/ex04/ft_putnbr_base.c @@ -6,7 +6,7 @@ /* By: cacharle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/07/06 07:47:44 by cacharle #+# #+# */ -/* Updated: 2019/07/07 12:30:16 by cacharle ### ########.fr */ +/* Updated: 2019/07/07 18:13:58 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -69,9 +69,6 @@ void ft_putnbr_base(int nbr, char *base) nbu /= radix; i++; } - while (i > 0) - { - i--; + while (i-- > 0) write(1, rev_digits + i, 1); - } } diff --git a/c04/ft_atoi.o b/c04/ft_atoi.o deleted file mode 100644 index 8c7622b..0000000 Binary files a/c04/ft_atoi.o and /dev/null differ diff --git a/c04/ft_putnbr.o b/c04/ft_putnbr.o deleted file mode 100644 index 4d8c488..0000000 Binary files a/c04/ft_putnbr.o and /dev/null differ diff --git a/c04/ft_putnbr_base.o b/c04/ft_putnbr_base.o deleted file mode 100644 index db3788f..0000000 Binary files a/c04/ft_putnbr_base.o and /dev/null differ diff --git a/c04/ft_putstr.o b/c04/ft_putstr.o deleted file mode 100644 index 099c1e4..0000000 Binary files a/c04/ft_putstr.o and /dev/null differ diff --git a/c04/ft_strlen.o b/c04/ft_strlen.o deleted file mode 100644 index 33f0ca0..0000000 Binary files a/c04/ft_strlen.o and /dev/null differ -- cgit