The first project of the common-core of the school 42, where the main goal is to develop tools to the rest of the cursus
Find a file
Raphaël 1a09167546
🔢 Conversion Utilities Expansion
##  New Functionality
-  Added the `ft_atou` function in `ft_atou.c` to convert a string to `size_t` (unsigned integer), with built-in whitespace handling and null pointer safety.  
- 📝 Declared `ft_atou` in `convert.h` with a detailed Doxygen-style comment explaining usage, return value, and parameters.  

## 🧪 Test Coverage Improvements
- 🆕 Introduced `test_atou.c` to verify `ft_atou` against `strtoull`, covering edge cases such as empty strings, whitespace, and invalid input.  
- 🔍 Expanded tests in `test_atoi.c`, `test_atoll.c`, and `test_itoa.c` to include more diverse scenarios (extra whitespace, varied integer ranges) to improve robustness and reliability.  

## 🛠️ Codebase Maintenance
- 📦 Included `<stddef.h>` in `convert.h` to ensure `size_t` is available in function declarations.  

##  Impact
- New unsigned integer conversion capability.  
- Stronger and more comprehensive test suite for all conversion functions.  
- Cleaner and safer header definitions.
2025-09-08 10:26:12 +02:00
.github/workflows style(action): renaming the main.yml to norminette.yml 2025-09-04 15:18:50 +02:00
char docs(char): moving the actual documentation on the header 2025-09-05 16:28:33 +02:00
convert feat(convert/atou): adding the atou function 2025-09-08 10:21:48 +02:00
includes feat(convert/atou): adding the atou function 2025-09-08 10:21:48 +02:00
list docs(list): moving the actual documentation on the header 2025-09-05 16:29:29 +02:00
memory docs(memory): moving the actual documentation on the header 2025-09-05 16:29:40 +02:00
print docs(print): moving the actual documentation on the header 2025-09-05 16:29:51 +02:00
str docs(str): moving the actual documentation on the header 2025-09-05 16:30:00 +02:00
test feat(convert/atou): adding the atou function 2025-09-08 10:23:59 +02:00
.gitignore build(nix): adding nix flake 2025-09-05 16:51:28 +02:00
flake.nix build(nix): c_formatter_42 with the correction given 2025-09-05 17:35:51 +02:00
Makefile build(str/strncpy): adding strncpy to the makefile 2025-09-05 16:30:55 +02:00
README.md Removing banner 2024-05-12 19:11:27 +02:00

This project is your very first project as a student at 42. You will need to recode a few functions of the C standard library as well as some other utility functions that you will use during your whole cursus.

Keywords Skills
Unix Logic Algorithms & AI
Imperative programming
Rigor