aboutsummaryrefslogtreecommitdiff
path: root/c04
diff options
context:
space:
mode:
Diffstat (limited to 'c04')
-rw-r--r--c04/ex04/ft_putnbr_base.c7
-rw-r--r--c04/ft_atoi.obin1300 -> 0 bytes
-rw-r--r--c04/ft_putnbr.obin1212 -> 0 bytes
-rw-r--r--c04/ft_putnbr_base.obin1756 -> 0 bytes
-rw-r--r--c04/ft_putstr.obin708 -> 0 bytes
-rw-r--r--c04/ft_strlen.obin652 -> 0 bytes
6 files changed, 2 insertions, 5 deletions
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 <charles.cabergs@gmail.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* 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
--- a/c04/ft_atoi.o
+++ /dev/null
Binary files differ
diff --git a/c04/ft_putnbr.o b/c04/ft_putnbr.o
deleted file mode 100644
index 4d8c488..0000000
--- a/c04/ft_putnbr.o
+++ /dev/null
Binary files differ
diff --git a/c04/ft_putnbr_base.o b/c04/ft_putnbr_base.o
deleted file mode 100644
index db3788f..0000000
--- a/c04/ft_putnbr_base.o
+++ /dev/null
Binary files differ
diff --git a/c04/ft_putstr.o b/c04/ft_putstr.o
deleted file mode 100644
index 099c1e4..0000000
--- a/c04/ft_putstr.o
+++ /dev/null
Binary files differ
diff --git a/c04/ft_strlen.o b/c04/ft_strlen.o
deleted file mode 100644
index 33f0ca0..0000000
--- a/c04/ft_strlen.o
+++ /dev/null
Binary files differ