The goal of this project is to mimic the printf function (included in <stdio.h>). Other information about the project:
- there is no required buffer, as is present in the system printf
- the following conversions are supported: sSpdDioOuUxXcC
- the %% is supported
- the following flags are supported: #0-+[SPACE]
- the following lengths flags are supported: hh, h, l, ll, j, z
- precision is supported
- basic functionality for * is supported
Creator: Pedago Team. Task description
Download and compile repo:
git clone https://github.com/IvanKozlov95/ft_printf
cd ft_printf
make
Not libftprintf.a
library is created.
There is a main file created for tests. Run command make test
inside repo folder.
make test
./a.out
> Hello world!
Fell free to edit main function in test/main.c
to add more.
This project was developed by Ivan Kozlov @ivankozlov95
This project is licensed under the GNU General Public License 3.