Skip to content

Latest commit

 

History

History
76 lines (59 loc) · 2.35 KB

README.md

File metadata and controls

76 lines (59 loc) · 2.35 KB

ft_printf

Like printf(), just worse.

Line of Code Size License License Norminette Action Norminette Action

SummaryHow It WorkHow To UseLicense

Summary

This function recreates part of printf(). It uses the same system of conversion, but only support "cspdiuxX%".

It does not support any flags.

This project is part of 42 Paris' curriculum. You can check the full subject in the subject pdf included in this repo.

How It Work

This function uses variadic functions to manage an unknown number of arguments.

How To Use

Clone this GitHub repos

git clone https://github.com/ThomasRobertson/42-ft_printf

Use the provided Makefile to compile the library (using the system's cc)

make

This will create a library, libftprintf.a, containing the function in the libft folder and the ft_printf function.

In the version that was latter integrated into my personal libft, some function names were changed to minimize the risk of collision by integrating this library into a bigger project or with other library.

License

MIT