Piscine42

This commit is contained in:
2023-12-12 17:25:55 +01:00
commit e07184f084
62 changed files with 1572 additions and 0 deletions

BIN
C02/ex08/.main.c.swp Executable file

Binary file not shown.

25
C02/ex08/ft_strlowcase.c Executable file
View File

@@ -0,0 +1,25 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_strlowcase.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: fgras-ca <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/12/08 10:34:31 by fgras-ca #+# #+# */
/* Updated: 2022/12/08 10:44:36 by fgras-ca ### ########.fr */
/* */
/* ************************************************************************** */
char *ft_strlowcase(char *str)
{
int i;
i = 0;
while (str[i] != '\0')
{
if ((str[i] >= 65 && str[i] <= 90))
str[i] += 32;
i++;
}
return (str);
}