https://github.com/Abaker-Hype/42-Cursus-Tester
A partial reimplementation of the printf in C. Handles only the following conversions.
Conversion | Short Description |
---|---|
%c | Print a single character. |
%s | Print a string of characters. |
%p | The void * pointer argument is printed in hexadecimal. |
%d | Print a decimal (base 10) number. |
%i | Print an integer in base 10. |
%u | Print an unsigned decimal (base 10) number. |
%x | Print a number in hexadecimal (base 16), with lowercase. |
%X | Print a number in hexadecimal (base 16), with uppercase. |
%% | Print a percent sign. |
See the subject.pdf for further details.