This project is a copy of the original printf function of C langage.
This code complies with the 42 school norm: https://github.com/Ysrbolles/ft_printf/blob/master/norm.pdf
Supports all these converters, flags and modifiers:
Type | Name |
---|---|
Converters | %d / %s / %p / %i / %f / %o / %u / %x / %X / %c/ %% |
Flags | # / 0 / - / + / . |
Modifiers | hh / h / l / ll |
Run make
command to compile the libftprintf library.
Compile your project with libftprintf.a. Don't forget to include "ft_printf.h"
To compile with the repository main:
gcc -Wall -Werror -Wextra main.c libftprintf.a
https://github.com/Ysrbolles/ft_printf/blob/master/ft_printf.fr.pdf