Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ekkoz897/42cursus_printf

ft_printf is a 42 school project where we must replicate the behavior of C library printf function. The project teaches us about variadic arguments as well as data structures.
https://github.com/ekkoz897/42cursus_printf

42-school 42cursus 42projects 42school c ft-printf ftprintf ftprintf42 printf string-manipulation write

Last synced: about 7 hours ago
JSON representation

ft_printf is a 42 school project where we must replicate the behavior of C library printf function. The project teaches us about variadic arguments as well as data structures.

Awesome Lists containing this project

README

        


✏️ 42cursus_Printf


Because putnbr and putstr aren’t enough


About
·
Usage
·
Testing

---

## 💡 About the project

> _This project is pretty straight forward. You will recode printf. You will mainly learn how to use variadic arguments._

This project consists of coding a library that contains a simplified version (more
information below) of the printf function.

## 🛠️ Usage

### Requirements

The function 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, go to the library path and run:

```shell
$ make
```

**2. Using it in your code**

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

```C
#include "ft_printf.h"
```

## 📋 Testing

You can use this third party tester to fully test the project:

* [Tripouille/printfTester](https://github.com/Tripouille/printfTester)