Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/zakariaelbouzkri/printf

The goal of this project is pretty straightforward. You will recode printf(). You will mainly learn about using a variable number of arguments. How cool is that?? It is actually pretty cool :)
https://github.com/zakariaelbouzkri/printf

algo c variadic-functions

Last synced: 3 days ago
JSON representation

The goal of this project is pretty straightforward. You will recode printf(). You will mainly learn about using a variable number of arguments. How cool is that?? It is actually pretty cool :)

Awesome Lists containing this project

README

        


✏️ ft_printf


Because putnbr and putstr aren’t enough


GitHub code size in bytes
Number of lines of code
GitHub top language


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.

For more detailed information, look at the [**subject of this project**](https://github.com/Surfi89/42cursus/tree/main/Subject%20PDFs).

## 🛠️ 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)