/ft_printf

📠 Function that mimic a real C function - printf.

Primary LanguageC

ft_printf

My implementation of the printf function, and with flags:

  • %c Prints one character.
  • %s Prints a string (as defined by the general convention C).
  • %p The void pointer argument * must be printed in hexadecimal format.
  • %d Outputs a decimal number (base 10).
  • %i Outputs an integer in base 10.
  • %u Prints an unsigned decimal number (base 10).
  • %x Prints a number in hexadecimal format (base 16) in lowercase.
  • %X Prints a number in hexadecimal format (base 16) in uppercase.
  • %% Displays the percent sign.

More about project in subject.

My score: falarm's 42 ft_printf Score