/ft_printf

The aim of this project is to mimic the behaviour of the original printf funciton in the C language.

Primary LanguageC

ft_printf

The aim of this project is to mimic the behaviour of the original printf funciton in the C language.

Usage

Running make all is going to compile a libftprintf.a library (using the ar command) which contains the ft_printf function.

Implemented flags and conversions

  • Flags: -0.*
  • Conversions: cspdiuxX% (one of them is the percent sign)

Presentation of the project to the peers

title image

tree of the project

basic logic explained

basic logic code

num printed

ft_parse_format Link to the code of ft_parse_format

ft_parse+format_how

ft_parse_flags Link to the code of ft_parse_flags

ft_parse_width Link to the code of ft_parse_width

ft_parse_precision Link to the code of ft_parse_precision

ft_parse_type Link to the code of ft_parse_type

ft_process_format Link to the code of ft_process_format

processing logic

processing example