Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Tat Hoang Nguyen committed Nov 20, 2024
1 parent 634f936 commit e5c26b8
Show file tree
Hide file tree
Showing 53 changed files with 4 additions and 4 deletions.
File renamed without changes.
Binary file removed libft.fr.pdf
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions makefile/to/ft_itoa.c → libft/ft_itoa.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/* By: tat-nguy <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/11/07 10:39:33 by tat-nguy #+# #+# */
/* Updated: 2024/11/12 13:18:12 by tat-nguy ### ########.fr */
/* Updated: 2024/11/20 13:35:10 by tat-nguy ### ########.fr */
/* */
/* ************************************************************************** */

Expand Down Expand Up @@ -35,7 +35,7 @@ static int ft_ilen(long n)
count++;
n = -n;
}
while (n / 10 >= 1)
while (n >= 10)
{
n = n / 10;
count++;
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions makefile/put/ft_putchar.c → libft/ft_putchar.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
/* By: tat-nguy <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/11/13 15:16:26 by tat-nguy #+# #+# */
/* Updated: 2024/11/13 15:19:33 by tat-nguy ### ########.fr */
/* Updated: 2024/11/20 13:43:08 by tat-nguy ### ########.fr */
/* */
/* ************************************************************************** */

#include "libft.h"

void ft_putchar(char c)
void ft_putchar(int c)
{
write(1, &c, 1);
}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit e5c26b8

Please sign in to comment.