Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project has been created as part of the 42 curriculum by almecani

Description :

ft_printf is a simplified reimplementation of the C standard library's printf() function. It formats and prints data according to format specifiers while returning the total number of characters written.

Instructions :

The goal is to implement ft_printf(). The function must, support the required format specifiers (c, s, p, d, i, u, x, X, %) and return the number of characters printed.

Resources :

ALL ME

A detailed description of the library created for this project :

This implementation scans the format string one character at a time. When a % is found, the following character is checked to determine the format specifier. A dispatcher function (specifier_finder) calls the appropriate printing function for each supported type. Numbers are printed by processing their most significant digits first, while hexadecimal values are converted. The function keeps a running count of all printed characters and returns this total when finished.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages