sapogov1978 / 002_printf

Recode of system printf. Works with cspdiuxX% convesions, field size and precision. Thanks to HecateCerridwen, cvignar and MaudClam for understanding, ideas and debugging of project.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

002_printf

Recode of system printf. Works with cspdiuxX% convesions, field size and precision.

Thanks to HecateCerridwen, cvignar and MaudClam for understanding, ideas and debugging of project.

The goal of this project is pretty straightforward. You will recode printf(). You will mainly learn about using a variable number of arguments.

GitHub code size in bytes Lines of code GitHub language count GitHub top language

Usage

Requirements

The library is written in C language and thus needs the gcc compiler and some standard C libraries to run.

Instructions

1. Compiling the library

To compile the library, run:

$ cd path/to/ft_printf && make

2. Using it in your code

To use the library functions in your code, simply include its header:

#include "printf.h"

and, when compiling your code, add the required flags:

-lftprintf -L path/to/libftprintf.a -I path/to/printf.h

About

Recode of system printf. Works with cspdiuxX% convesions, field size and precision. Thanks to HecateCerridwen, cvignar and MaudClam for understanding, ideas and debugging of project.


Languages

Language:C 95.1%Language:Makefile 4.9%