🖨 Printf
About • Features • How it works • Author
🖨 The goal of this project was to recode the printf function.
Part | Functions |
---|---|
Mandatory Function | Managing the following conversions: cspdiuxX% |
Bonus 1 | Management of any combination of the following flags: '-0.' And minimal field width with all conversions |
Bonus 2 | Manage all of the following flags: '# +' (yes, one of them is a space) |
Function | Behavior |
---|---|
printf | Just like the original printf function (man printf), but applying only the flags and types specified in Briefing |
git clone https://github.com/prmarquesz/ft_printf.git
Go to the directory where you cloned and run the command
make
Command | Usage |
---|---|
make |
Creates the library (equivalent to make all and make libftprintf.a ) |
make clean |
Removes the object files |
make fclean |
Removes the object files and the library |
make re |
Invokes fclean rule and then all |
Include the header (ft_printf.h) in your main function (#include "ft_printf.h"
),
and run the command
gcc -Wall -Werror -Wextra main.c libftprintf.a
./a.out
Paulo Roberto Marques 🚀
Made with ❤️ by Paulo Roberto Marques 👋🏽 Get in Touch!