Update Exos

This commit is contained in:
lclerel- lclerel-
2026-03-25 16:10:17 +01:00
parent 850dd21ab6
commit e3190ac977
4 changed files with 4 additions and 57 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 59 KiB

After

Width:  |  Height:  |  Size: 89 KiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 92 KiB

After

Width:  |  Height:  |  Size: 74 KiB

@@ -1,55 +0,0 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_str_is_alpha.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: lclerel- <lclerel-@learner.42.tech> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2026/03/10 09:59:54 by lclerel- #+# #+# */
/* Updated: 2026/03/10 13:14:35 by lclerel- ### ########.fr */
/* */
/* ************************************************************************** */
#include <unistd.h>
/*void ft_putchar(char chara)
{
write(1, &chara, 1);
}*/
int ft_str_is_alpha(char *str)
{
int i;
int is_low;
int is_up;
i = 0;
while (str[i] != '\0' )
{
is_up = (str[i] >= 'a' && str[i] <= 'z');
is_low = (str[i] >= 'A' && str[i] <= 'Z');
if (!(is_up || is_low))
{
return (0);
}
i++;
}
return (1);
}
/*int main(void)
{
char *str;
str = "LumiTest123";
write(1, "Test avec LumiTest123 : ", 16);
ft_putchar(ft_str_is_alpha(str) + '0');
write(1, "\n", 1);
write(1, "Output = 0 car y'as des chiffres", 32);
write(1, "\n", 1);
str = "LumiTest";
write(1, "Test avec LumiTest : ", 21);
ft_putchar(ft_str_is_alpha(str) + '0');
write(1, "\n", 1);
write(1, "Output = 1 car y'as pas de chiffres", 35);
}*/
+4 -2
View File
@@ -7,7 +7,7 @@ Bienvenue sur mon dépôt regroupant mes exercices et projets réalisés à **42
> [!NOTE]
> Quelques jours apres ma piscine, je risque de faire un article sur mon [site](https://syxpi.fr), Je vous conseille de regarder regulierement 👀
## 📊 Mon État d'Avancement
* **Niveau Actuel :** `Level 3 [55/100 XP]`
* **Niveau Actuel :** `Level 3 [75/100 XP]`
![Level](./Images/Level.png)
@@ -97,7 +97,7 @@ Voici l'historique de mes validations. Chaque "Attempt" représente une étape d
| **[C Simple strings](./Memory%20Management/C-Simple-Strings/)** | 3 Attempts | ✅ Success | 10/03/2026 17h49 - 11/03/2026 11h04 |
| **[C Function Pointers](./Memory%20Management/C-Function-Pointers/)** | 4 Attempts | ✅ Success | 16/03/2026 13h24 - 19/03/2026 12h22 |
| **[C Memory Management](./Memory%20Management/C-Memory-Management/)** | 5 Attempts | ✅ Success | 19/03/2026 14h07 - 23/03/2026 20h18 |
| **[C System Interface](./Memory%20Management/C-System-Interface/)** | [En cours] | ⏳ | 19/03/2026 12h24 - ??? |
| **[C System Interface](./Memory%20Management/C-System-Interface/)** | 2 Attempts | ✅ Success | 19/03/2026 12h24 - 25/03/2026 16h09 |
**Tout mes Tries Reussis** :
@@ -161,6 +161,8 @@ Le code est organisé par module, tel que vu dans mon architecture locale :
│   ├── Data Structures
│   ├── Imperative Programming
│   ├── Memory Management
│   ├── System Interface
│   ├── Compilation and Preprocessing
│   ├── Norminette # Documentation de comment fonctionne la Norme
│   ├── Shell
│   └── Tutorial