/printf

Recreating the printf function in c.

Primary LanguageC

This project is a recreation of the C command called printf. It was a project that I selected from 42 Silicon Valley.

With this project, you can recreate the commands that handle printf flags, width, precision, length, and type.

Flags: +, -, 0, #, ' ' (space)

Width and Percision Width is a number and precision is a number that's seperated by a '.' from width.

Lenght h, hh, l, ll, j, z

Type s, c, i, d, x, u, o, p, C, S, D,X

Example of command to input in printf: ft_printf("%-0+5d", -42);