/42ft_printf

custom implementation of the printf function in C

Primary LanguageC


Markdownify
42-PRINTF

Because ft_putnbr() and ft_putstr() aren’t enough

DESCRIPTIONBUILT WITHINSTALLATIONUSAGERESOURCES

DESCRIPTION

ft_printf is a custom implementation of the printf function in C. This project aims to replicate some of its functionality. It's a rich example of a variadic function, as it allows you to format and write output to STDOUT. It supports placeholders for various data types, such as strings, characters and integers.

BUILT WITH

C

INSTALLATION

  1. Clone the repository to your local machine:
git clone https://github.com/st-yes/42ft_printf
  1. Navigate to the library's directory:
cd 42ft_printf
  1. Compile
make

USAGE

  1. To use ft_printf in your code, include the ft_printf.h header file:
#include "ft_printf.h"
  1. link the library during the compilation
gcc project.c libftprintf.a

RESOURCES