Update Images

This commit is contained in:
lclerel- lclerel-
2026-03-26 02:35:46 +01:00
parent 25e5442632
commit 28356c05b6
8 changed files with 28 additions and 6 deletions
@@ -0,0 +1,22 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_stock_str.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: lclerel- <lclerel-@learner.42.tech> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2026/03/26 02:05:19 by lclerel- #+# #+# */
/* Updated: 2026/03/26 02:06:44 by lclerel- ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef F_STOCK_STR_H
#define F_STOCK_STR_H
typedef struct s_stock_str
{
int size;
char *str;
char *copy;
} t_stock_str;
#endif
@@ -6,7 +6,7 @@
/* By: lclerel- <lclerel-@student.42.fr> +#+ +:+ +#+ */ /* By: lclerel- <lclerel-@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2026/03/25 22:54:18 by lclerel- #+# #+# */ /* Created: 2026/03/25 22:54:18 by lclerel- #+# #+# */
/* Updated: 2026/03/26 01:19:03 by lclerel- ### ########.fr */ /* Updated: 2026/03/26 02:07:14 by lclerel- ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@@ -74,7 +74,7 @@ int ft_strlen(char *str)
} }
return (i); return (i);
} }
/*
void ft_putstr(char *str) void ft_putstr(char *str)
{ {
int i; int i;
@@ -156,24 +156,24 @@ int main(int argc, char **argv)
ft_putstr("| Taille : |\n"); ft_putstr("| Taille : |\n");
ft_putstr("| > "); ft_putstr("| > ");
ft_putnbr(tab[i].size); ft_putnbr(tab[i].size);
spaces = 26 - 4 - ft_nbrlen(tab[i].size); spaces = 27 - 4 - ft_nbrlen(tab[i].size);
ft_stylebox(spaces); ft_stylebox(spaces);
ft_putstr("|\n"); ft_putstr("|\n");
ft_putstr("| String : |\n"); ft_putstr("| String : |\n");
ft_putstr("| > "); ft_putstr("| > ");
ft_putstr(tab[i].str); ft_putstr(tab[i].str);
spaces = 26 - 4 - ft_strlen(tab[i].str); spaces = 27 - 4 - ft_strlen(tab[i].str);
ft_stylebox(spaces); ft_stylebox(spaces);
ft_putstr("|\n"); ft_putstr("|\n");
ft_putstr("| |\n"); ft_putstr("| |\n");
ft_putstr("| Result : |\n"); ft_putstr("| Result : |\n");
ft_putstr("| > "); ft_putstr("| > ");
ft_putstr(tab[i].copy); ft_putstr(tab[i].copy);
spaces = 26 - 4 - ft_strlen(tab[i].copy); spaces = 27 - 4 - ft_strlen(tab[i].copy);
ft_stylebox(spaces); ft_stylebox(spaces);
ft_putstr("|\n"); ft_putstr("|\n");
ft_putstr("\\==========================/\n\n"); ft_putstr("\\==========================/\n\n");
i++; i++;
} }
return (0); return (0);
}*/ }
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 689 KiB

After

Width:  |  Height:  |  Size: 1.2 MiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 74 KiB

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 425 KiB

After

Width:  |  Height:  |  Size: 421 KiB