Skip to content

Da-ghost42/ft_printf

Repository files navigation

ft_printf

A custom implementation of the C standard library function printf.
This project was developed as part of the 42 curriculum, with the goal of recreating the core functionality of printf while gaining a deeper understanding of variadic functions, formatted output, and low-level C programming concepts.


✨ Features

  • Supports the following conversions:
    • %c : Prints a single character
    • %s : Prints a string
    • %p : Prints a pointer address
    • %d / %i : Prints a decimal (base 10) integer
    • %u : Prints an unsigned decimal (base 10) integer
    • %x / %X : Prints a number in hexadecimal (lowercase/uppercase)
    • %% : Prints a literal percent sign
  • Handles variadic arguments with <stdarg.h>.
  • Mimics standard printf behavior as closely as possible.

⚙️ Installation & Usage

  1. Clone the repository:
    git clone https://github.com/your-username/ft_printf.git
    cd ft_printf

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors