/ft_printf

Recreate the printf function

Primary LanguageCMIT LicenseMIT

Warning

The sharing of this project on my GitHub aims to help peoples to open their minds to new logics or help peoples in case of difficulty. In no way, that aims to copy and paste this work on your own repository.

ft_printf

ft_printf is a project from the 42 Common Core, The project aims to recreate your own C version of printf, which must work with the following conversions : "diupxXcs%" .

return value

ft_printf returns the number of characters he printed (not including '\0') .

prototype

   int	ft_printf(const char *str, ...);

bonus

The bonus parts of this project are the followings :

  • Manage flags "-0." .
  • Manage flags "+ #" .

testers