Remove Write on putnbr
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
/* By: lclerel- <lclerel-@learner.42.tech> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2026/03/09 10:34:20 by lclerel- #+# #+# */
|
||||
/* Updated: 2026/03/09 10:40:43 by lclerel- ### ########.fr */
|
||||
/* Updated: 2026/03/09 12:15:39 by lclerel- ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -31,7 +31,6 @@ void ft_putnbr(int nb)
|
||||
ft_putnbr(nb / 10);
|
||||
}
|
||||
value = nb % 10 + '0';
|
||||
write(1, &value, 1);
|
||||
}
|
||||
|
||||
int ft_recursive_power(int nb, int power)
|
||||
|
||||
Reference in New Issue
Block a user