Skip to content

rutgercap/printf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ft_printf

A library that contains ft_printf, a c function that mimics the real printf.

Project goals

The project is part of the Codam curriculum. The main learning goals were to learn about:

  • Variable argument lists
  • Writing good scalable code

Usage

Prototype:

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

Supported flags:

  • Width

  • Precision

  • '-0.*' and all combinations

Supported conversions:

cspdiuxX%

Return value:

The amount of characters printed as int

Small disclaimer

The entire project is written in accordance with the 42 Network Norm. The norm puts readability above everything and can therefore sometimes be limiting in terms of writing the most optimal code.

About

Function that mimics the C printf

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published