Skip to content

ribana-b/ft_printf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ft_printf

Description

Ft_printf is a function that prints in the standard output a formatted string. It replicates the behaviour of the original printf.

Available formats

  • %c: Prints the character.
  • %s: Prints the string.
  • %p: Prints the address of the argument.
  • %i: Prints the argument as int.
  • %d: Prints the argument as int.
  • %u: Prints the argument as unsigned int.
  • %x: Prints the argument as lowercase hexadecimal.
  • %X: Prints the argument as uppercase hexadecimal.
  • %%: Prints the character '%'.

Allowed Functions

Progress

If you want to check my progress as a student in 42 Málaga check out my main repository!