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 78c37163f2
⚙️ Conversion & Character Utilities Update #3
🛡️ Robustness Buffs (Conversion Functions)
• 🧩 ft_atoi and ft_atoll gained a safety shield: they now return 0 when passed a null pointer, preventing accidental crashes.
• This change improves stability across the board, ensuring safer handling of unexpected input.

🧪 Test Suite Expansions

New & Expanded Conversion Trials
• 📝 Added extensive test coverage for ft_atoi, ft_atoll, and ft_itoa, including edge cases and null pointer handling.
• These tests live in test/convert/ and ensure your conversion toolkit is battle-ready for any scenario.

Character Function Test Output Polish
•  Updated all character test files (test_isalnum.c, test_isalpha.c, test_isascii.c, test_isprint.c, test_tolower.c, test_toupper.c) with better output formatting.
• Each result now ends with a newline → improved readability during long test runs.

🔨 Build & Test Process
• 🧹 The Makefile has been optimized:
• test target now depends on fclean + $(NAME) → always runs on a clean build.
• The test runner loop has been reformatted for cleaner output.

📦 Minor Updates
• 📅 File headers refreshed to reflect the latest modification dates, keeping the codebase neat and consistent.

 Impact
• Stronger crash resistance for conversion functions.
• More comprehensive and reliable test suite.
• Cleaner, more professional build & test pipeline.
• Better dev experience thanks to polished test outputs.
2025-09-05 15:17:06 +02:00
.github/workflows style(action): renaming the main.yml to norminette.yml 2025-09-04 15:18:50 +02:00
char fix(char): fixing the isascii / isprint 2025-09-05 10:47:02 +02:00
convert fix(convert/atoll): atoll was now working with NULL parameters 2025-09-05 15:09:52 +02:00
includes feat(include/color): init the color header for print propose 2025-09-04 11:54:38 +02:00
list refactor: only the usefull header 2025-09-01 18:45:33 +02:00
memory refactor: make ft_checks function static 2025-09-04 12:01:38 +02:00
print refactor: make check_args function static 2025-09-04 12:01:21 +02:00
str feat(str/strncpy): adding the function strncpy 2025-09-01 18:48:57 +02:00
test test(convert): adding test to convert 2025-09-05 15:12:40 +02:00
.gitignore chore(ignore): adding test binary to ignore 2025-09-04 18:51:03 +02:00
Makefile build(test): now test is building the libft before test 2025-09-05 15:10:54 +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