Skip to content

second project at 42 school. We have to create our own printf function.

Notifications You must be signed in to change notification settings

garenaud/ft_printf

Repository files navigation

ft_printf

Description

This project is a recreation of the libc's printf function. read the subject

Features

  • Handles the following conversions: c, s, p, d, i, u, x, X, %
  • Handles any combination of the following flags: -, 0, .

Usage

To compile, run make. This will compile libprintf.a. To use, include ft_printf.h (located in the includes directory) and use just like printf:

#include "ft_printf.h"

int main()
{
    ft_printf("Hello, %s!", "world");
    return (0);
}

Testing

Run make test to run the tests.

About

second project at 42 school. We have to create our own printf function.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors