Skip to content

ameschmeems/ft_printf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ft_printf

A recration of the printf function from <stdio.h> made for unix systems. Make will compile the library libft and add the ft_printf function to it.

Supported conversions:

  • %c - prints a single character
  • %s - prints a string
  • %p - prints a pointer in hexadecimal
  • %d - prints a decimal number
  • %i - prints an integer in base 10
  • %u - prints an unsigned decimal number
  • %x - prints a number in lowercase hexadecimal
  • %X - prints a number in uppercase hexadecimal
  • %% - prints a % sign

Main concepts learned:

  • Variadic functions

About

A project from the 42 school recreating the printf function

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published