Skip to content

Cimex404/42-ft_printf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ft_printf 42

libft Logo

ft_printf is a 42 project that teaches about variable-length function calls. This project is a great asset for the later projects as it is much simpler and more versatile than the write function. ft_printf is a simplified replica of the original printf function, it can handle the most essential data type conversions and prints them to the standart output.

Conversions

%s	==>	String
%c	==>	Character
%d	==>	Decimal
%i	==>	Integer
%u	==>	Unsigned Decimal
%p	==>	Pointer Address
%x	==>	Hex value (lowercase)
%X	==>	Hex value (uppercase)

How to use it

You can simply run make and the project will compile to a static library called ft_printf.a as well as an executable called ft_printf. The executable will simply run a demonstration of all conversions.

To use ft_printf in your own project compile the ft_printf.a together with your source files and add the ft_printf.h header to your headers.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors