This project is pretty straight forward. You will recode printf. You will mainly learn how to use variadic arguments.
Subject:
Constraints are as follows:
- The prototype of ft_printf should be int ft_printf(const char *, ...);
- You have to recode the libc's printf function
- It must not do the buffer management like the real prinft
- It will manage the following conversions: cspiuxX%
- It will manage any combination of the following flags: ;-0.'* and a minimum field width with all conversions
- It will be compared with the real printf
Usage:
To run the program type the following in terminal
git clone https://github.com/avan-dam/printf.git
cd printf
make
Testing:
I have created a simple main for testing as follows
Feel free to edit this main to further compare the results of printf with the version I have created (ft_printf)
Example of running my main to test can be seen below.
Project passed with 100/100

