Skip to content

Ft_printf is a custom C implementation of printf, supporting various format specifiers and reinforcing knowledge of variadic functions, format specifiers, and memory management.

Notifications You must be signed in to change notification settings

mdbentaleb/Ft_printf_42

Repository files navigation

Ft_printf - 42 Network Project

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 or clang
  • make for building the project
  • A UNIX-like operating system (Linux/macOS/WSL)

1. Clone the Repository

git clone https://github.com/mdbentaleb/Ft_printf_42.git
cd Ft_printf_42

2. Compile the Project

After cloning the repository, run the following command to compile the project:

make

3. Clean Up

To remove the compiled files:

make clean

About

Ft_printf is a custom C implementation of printf, supporting various format specifiers and reinforcing knowledge of variadic functions, format specifiers, and memory management.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published