Libft.git
2 years agoAdded ft_strndup, because it is usefull for ft_printf.
Lukas Jiriste [Thu, 24 Aug 2023 07:47:08 +0000 (09:47 +0200)]
Added ft_strndup, because it is usefull for ft_printf.
Changed libft.h accordingly.

2 years agoAdded bonus functions and changed libft.h and Makefile accordingly.
Lukas Jiriste [Wed, 16 Aug 2023 15:46:11 +0000 (17:46 +0200)]
Added bonus functions and changed libft.h and Makefile accordingly.

2 years agoFunction ft_strtrim now allocates exactly the memory needed for the resulting string.
Lukas Jiriste [Wed, 16 Aug 2023 15:41:49 +0000 (17:41 +0200)]
Function ft_strtrim now allocates exactly the memory needed for the resulting string.
?inor changes were also made to make the code more consistent.

2 years agoRepaired functions to pass the Tripouille libftTester (mostly - I don't think some...
Lukas Jiriste [Wed, 16 Aug 2023 09:28:16 +0000 (11:28 +0200)]
Repaired functions to pass the Tripouille libftTester (mostly - I don't think some KOs are reasonable).

2 years agoImplemented functions of Part 2 and repaired older functions.
Lukas Jiriste [Tue, 15 Aug 2023 15:15:58 +0000 (17:15 +0200)]
Implemented functions of Part 2 and repaired older functions.
Everything passes norminette, compiles and links, but there are issues to be resolved.

2 years agoImplemented every function from Part 1.
Lukas Jiriste [Tue, 15 Aug 2023 11:03:47 +0000 (13:03 +0200)]
Implemented every function from Part 1.
Added libft.h header and Makefile.
Everything passes norminette and compiles to libft.a on make command.

2 years agoAdded a couple of wanted functions.
Lukas Jiriste [Mon, 14 Aug 2023 11:45:12 +0000 (13:45 +0200)]
Added a couple of wanted functions.
Also added 2 additional functions - islower and isupper.
These functions naturaly fit in and are used for more readible implementation of other functions.
Each .c file includes the library header libft.h (libft.h is not added in this commit).