Skip to content

Clmntsnd/01-ft_printf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ft_printf Logo

Table of Contents 📜

  • Introduction 🌟
  • Features ✨
  • Installation ⚙️

Introduction 🌟

ft_printf is a project from the 42 curriculum that challenges students to implement their own version of the famous printf function in C. The project aims to deepen students' understanding of string manipulation, formatting, and advanced C concepts.

Features ✨

  • Supports variable argument lists (va_args) to handle a dynamic number of arguments.
  • Supports a wide range of format specifiers, provides accurate and reliable conversion and formatting for different data types :
    • %c Prints a single character.
    • %s Prints a string (as defined by the common C convention).
    • %p The void * pointer argument has to be printed in hexadecimal format.
    • %d Prints a decimal (base 10) number.
    • %i Prints an integer in base 10.
    • %u Prints an unsigned decimal (base 10) number.
    • %x Prints a number in hexadecimal (base 16) lowercase format.
    • %X Prints a number in hexadecimal (base 16) uppercase format.
    • %% Prints a percent sign.

Installation ⚙️

To use the Libft library in your C projects, follow these steps:

  1. Clone the ft_printf repository to your local machine using the following command:
git clone https://github.com/Clmntsnd/01-ft_printf
  1. Change into the ft_printf directory:
cd 01-ft_printf
  1. Compile the library by running the provided Makefile:
make

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published