- This project consists of recreating the printf function from the <stdio.h> library.
Specifier | Description |
---|---|
%c | Single character |
%s | String of characters |
%p | Pointer in hexadecimal |
%d | Signed decimal integer |
%i | Signed decimal integer |
%u | Unsigned decimal integer |
%x | Unsigned hexadecimal integer (lowercase) |
%X | Unsigned hexadecimal integer (uppercase) |
%% | Two followed "%" will write a "%" |
ft_printf
- it goes through the printf string and checks the formatting type.ft_types.c
- format type check and return.libft.c
- auxiliary functions for printf. (functions were done in the first project - Libft).