Skip to content

Ysrbolles/ft_printf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ft_printf

This project is a copy of the original printf function of C langage.

This code complies with the 42 school norm: https://github.com/Ysrbolles/ft_printf/blob/master/norm.pdf

Features

Supports all these converters, flags and modifiers:

Type Name
Converters %d / %s / %p / %i / %f / %o / %u / %x / %X / %c/ %%
Flags # / 0 / - / + / .
Modifiers hh / h / l / ll

Compilation

Run make command to compile the libftprintf library.

Usage

Compile your project with libftprintf.a. Don't forget to include "ft_printf.h"

To compile with the repository main:

gcc -Wall -Werror -Wextra main.c libftprintf.a 

Subject

https://github.com/Ysrbolles/ft_printf/blob/master/ft_printf.fr.pdf

About

Algorithm ~ Recoding original printf from libc

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published