42_printf is an implementation of the standard printf function in C.
This project is part of the 42 school curriculum, designed to enhance understanding of variadic functions and formatted output in C.
- Custom implementation of the
ft_printffunction. - Supports various format specifiers (e.g., %d, %s, %x, %u).
- Handles variadic arguments efficiently.
- A C compiler (e.g., CC)
- Make
To compile the project:
make(It compiles with -Wall -Wextra -Werror flags) After the compilation it will create a libftprintf.a file
To use it, you should create a file (e.g., main.c) and call the ft_printf function. To compile te main:
cc main.c libftprintf.aTo run the provided tests:
.\a.out