dvnishshanka / 42-Berlin-ft_printf

ft_printf (42 Berlin)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ft_printf

The ft_printf is a re-implementation of printf() function from libc.

Languages

My Skills

Following conversions are implemented

  • %c Prints a single character.
  • %s Prints a string (as defined by the common C convention).
  • %p The void * pointer argument has to be printed in hexadecimal format.
  • %d Prints a decimal (base 10) number.
  • %i Prints an integer in base 10.
  • %u Prints an unsigned decimal (base 10) number.
  • %x Prints a number in hexadecimal (base 16) lowercase format.
  • %X Prints a number in hexadecimal (base 16) uppercase format.
  • %% Prints a percent sign.

Result: :one::zero::zero: / :one::zero::zero: :heavy_check_mark:

Tested Using: https://github.com/xicodomingues/francinette

About

ft_printf (42 Berlin)


Languages

Language:C 90.1%Language:Makefile 9.9%