Skip to content

Because ft_putnbr and ft_putstr aren’t enough. Custom printf function for 42.

Notifications You must be signed in to change notification settings

MathysCogne/42_ft_printf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

42 - FT_PRINTF

Because putnbr and putstr aren’t enough

Subject


Features

  • This project is a custom implementation of the printf function in C
  • Handles specifiers: %c, %s, %d, %i, %u, %x, %X, %p, and %%.

Specifier Description Base
%c Single character --
%s String --
%d Decimal number Decimal
%i Integer Decimal
%u Unsigned Integer Decimal
%x Lowercase number Hexadecimal
%X Uppercase number Hexadecimal
%p Pointer - Memory addr Hexadecimal
%% Percent sign --

Project Structure


Compilation libftprintf.a

To compile the library, simply run the make command:

make

make bonus make clean make fclean make re


Disclaimer

At 42 School, most projects must comply with the Norm.

About

Because ft_putnbr and ft_putstr aren’t enough. Custom printf function for 42.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published