ft_printf("test %-12f et % #.1x %24s !\n", 42.001, 20, "coco");
Implementation from scratch of some big int operations.
Implementation from scratch of the double-precision floating-point format to get the precised representation of
ft_printf("%+8.14Lf", 12.847e451L);
- Adapt
make test
for linux
#include "ft_printf.h"
int ft_printf(const char* format, ...);
int main(void)
{
ft_printf("test %-12f et % #.1x %24s !\n", 42.001, 20, "coco");
return (0);
}
make re
gcc -Iincludes main.c libftprintf.a -o main
./main
%[parameter][flags][width][.precision][length]type
- + 0 #
A minimum number of characters to output.
A maximum limit on the output.
hh h l ll
% d u f e c o s c p b