diff --git a/42-Docs/Compilation and Preprocessing/C-Libft.pdf b/42-Docs/Compilation and Preprocessing/C-Libft.pdf new file mode 100644 index 0000000..4fe9812 Binary files /dev/null and b/42-Docs/Compilation and Preprocessing/C-Libft.pdf differ diff --git a/42-Docs/System Interface/C-File-Operations.pdf b/42-Docs/System Interface/C-File-Operations.pdf new file mode 100644 index 0000000..6df2e10 Binary files /dev/null and b/42-Docs/System Interface/C-File-Operations.pdf differ diff --git a/Data Structures/C-Strings/ex6/ft_strstr.c b/Data Structures/C-Strings/ex6/ft_strstr.c index 283ee1c..a785711 100644 --- a/Data Structures/C-Strings/ex6/ft_strstr.c +++ b/Data Structures/C-Strings/ex6/ft_strstr.c @@ -6,7 +6,7 @@ /* By: lclerel- +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2026/03/24 18:09:44 by lclerel- #+# #+# */ -/* Updated: 2026/03/24 18:41:42 by lclerel- ### ########.fr */ +/* Updated: 2026/03/25 11:15:55 by lclerel- ### ########.fr */ /* */ /* ************************************************************************** */ @@ -31,8 +31,8 @@ char *ft_strstr(char *str, char *to_find) } return (0); } -/* -int main(void) + +/*int main(void) { char *st = "JVE!5toU6Bnd1Dn8zBs2h3kLM9Fkeo=;Cj>=THqcN;5iJS5$JKw3E4iJuc"; char *find = "j>=THqcN;5"; @@ -42,7 +42,7 @@ int main(void) if (res) { write(1, "J'ai un truc ! C'est SA : ", 26); - write(1, res, 10); + write(1, res, 16); write(1, "\n", 1); } else