Skip to content

rscres/42ft_printf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ft_printf

This project aims to recreate the printf for use in other 42 projects. It is a simplified version of it with less types and limited flags.

Types

  • %c char
  • %s string
  • %u unsigned int
  • %i int
  • %d decimal
  • %p pointer
  • %x lowercase hexadecimal
  • %X uppercase hexadecimal

Flags

  • # alternate format, works with %x and %X
  • + adds a plus sign in front of positive %d and %i
  • ' ' (space) same as the + flag but adds a space in front

About

Create my own printf

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published