This repository contains my custom implementation of the printf function in C.
The ft_printf function replicates the behavior of the standard printf function, allowing formatted output to the standard output stream. This project is implemented in C and follows the conventions and functionality of the standard printf.
- Supports various format specifiers, including:
%cfor characters%sfor strings%dand%ifor integers%ufor unsigned integers%xand%Xfor hexadecimal numbers%pfor pointers%%for the percent sign
To compile the ft_printf function, you can use the provided Makefile. Run the following command:
makeThis will generate the libftprintf.a library, which you can link with your projects.
ft_printf.c: Core implementation of theft_printffunction.ft_printf.h: Header file containing function prototypes and macros.Makefile: Script to compile the library and clean up object files.
This project is licensed under the MIT License. See the LICENSE file for details.