Skip to content

tiagohtavares/printf

Repository files navigation

printf

About

This project consists of recreating printf.

Implementation

In accordance to the project subject printf is compiled using a makefile into libftprintf.a for further use.

This printf is partially implemented and only checks for the following cases :

"%c" - a var of type char.

"%s" - a var of type *char (a string).

"%d" - a var of type int.

"%u" - a var of type unsigned int.

"%x", "%X" - an unsigned hexadecimal int lower (%x) and upper (%X)

"%p" - an adress of a pointer

printf function is of type int and returns the number of chars in the output.

Use

This project has been added to libft for further use in other work.

Releases

No releases published

Packages

No packages published