Recreating the famous printf function!
This project replicates the behavior of the formats:
% | format |
---|---|
c |
character |
s |
string |
p |
pointer |
d |
decimal signed integer |
i |
integer |
u |
unsigned integer |
x |
hex integer (lowercase) |
X |
hex integer (uppercase) |
% |
just the % |
and the flags:
% | flag |
---|---|
n |
(number between % and the identifier) minimum field width |
- |
left justify |
0 |
field padded with 0's instead of blanks |
. |
precision |
* |
indicates that the maximum or minimum field width will be passed as parameter |
Command | Usage |
---|---|
make |
creates .o files for each function as well as the main library file, libft.a |
make clean |
removes the .o files used to create the library |
make fclean |
removes the .o & .a files used to create the library |
make re |
removes all .o & .a files then remakes them |