Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/yvann-ba/ft_printf

Custom `printf` implementation in C. Supports various format specifiers and variadic arguments
https://github.com/yvann-ba/ft_printf

42projects parsing printf stringmanipulation

Last synced: 12 days ago
JSON representation

Custom `printf` implementation in C. Supports various format specifiers and variadic arguments

Awesome Lists containing this project

README

        

# Ft_Printf

## 📜 Description
"Ft_Printf" is a custom implementation of the standard `printf` function in C, developed as part of my coursework at 42 School. This project aims to replicate the functionality of `printf`, supporting various format specifiers and managing variadic arguments efficiently.

#### ⭐ My 42 score for this project:
![image](https://github.com/yvann-ba/Born2BeRoot/assets/97234242/276aef37-3a2d-4d1e-a91e-aae5d519b7f5)

#### 📄 Official 42 School Subject:
https://github.com/rphlr/42-Subjects/blob/main/common-core/ft_printf/en.subject.pdf
## 🌟 Features
- Custom implementation of the `printf` function
- Support for multiple format specifiers
- Handling of variadic arguments
- Improved understanding of formatted output in C

## ⚙️ Installation

To clone and compile this project, follow these steps:

```bash
git clone https://github.com/your-username/Ft_Printf.git
cd Ft_Printf
make
```
## 🚀 Usage
Include the function in your projects:
```c
#include "ft_printf.h"
```
Use ft_printf to print formatted output:
```c
ft_printf("Hello, %s!\n", "world");
```