Skip to content

maxdesalle/printf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

printf

An implementation of C's printf function (from the stdio.h library).

How to use it

The ft_printf function supports the following types:

c: char
s: string
p: pointer
d: int
i: int
u: unsigned int
x: lowercase hexadecimal number
X: uppercase hexadecimal number

as well as the following flags: -0.* +.

if you want to try it out, simply clone this repository and execute the following commands:

make
gcc -Wall -Wextra -Werror src/main.c libftprintf.a -I include && ./a.out

A main.c file is included in the src folder where you will be able to try out the ft_printf function.

License

This repository is released under the MIT License.

About

An implementation of C's printf function.

Resources

License

Stars

Watchers

Forks