Ft_printf is a custom implementation of the printf
function in C. It supports a variety of format specifiers, allowing for formatted output of strings, integers, characters, and other data types. This project reinforces understanding of variadic functions, format specifiers, and memory handling.
🚀 Features
- Implements custom
printf
functionality with support for various format specifiers (%d
,%i
,%s
,%c
,%x
,%X
,%p
,%u
). - Handles variadic arguments, making it possible to print multiple data types in a single call.
- Supports custom formatting options like padding, alignment, and precision.
🛠️ Getting Started
Prerequisites
To get started, ensure you have the following installed:
- A C compiler like
gcc
orclang
make
for building the project- A UNIX-like operating system (Linux/macOS/WSL)
git clone https://github.com/mdbentaleb/Ft_printf_42.git
cd Ft_printf_42
After cloning the repository, run the following command to compile the project:
make
To remove the compiled files:
make clean