DESCRIPTION • BUILT WITH • INSTALLATION • USAGE • RESOURCES •
ft_printf is a custom implementation of the printf function in C. This project aims to replicate some of its functionality. It's a rich example of a variadic function, as it allows you to format and write output to STDOUT. It supports placeholders for various data types, such as strings, characters and integers.
- Clone the repository to your local machine:
git clone https://github.com/st-yes/42ft_printf
- Navigate to the library's directory:
cd 42ft_printf
- Compile
make
- To use ft_printf in your code, include the ft_printf.h header file:
#include "ft_printf.h"
- link the library during the compilation
gcc project.c libftprintf.a