ft_printf is a custom reimplementation of the glibc printf function. Written in C, it replicates standard formatted output behavior with support for various conversion specifiers and flags.
Clone the repository and build the library:
git clone https://github.com/julmajustus/ft_printf.git
cd ft_printf
make
Include the library header in your source code:
#include "ft_printf.h"
int main(void)
{
ft_printf("Hello, %s!\n", "world");
return 0;
}
Compile your program together with ft_printf:
gcc -o my_program my_program.c libftprintf.a