https://github.com/zainabdnaya/ft_printf
https://github.com/zainabdnaya/ft_printf
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zainabdnaya/ft_printf
- Owner: zainabdnaya
- Created: 2020-01-26T11:06:10.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-01-29T01:23:38.000Z (over 5 years ago)
- Last Synced: 2025-04-12T06:50:06.767Z (2 months ago)
- Language: C
- Size: 1.21 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ft_printf
This project is pretty straight forward. You will recode printf. Hopefully you will be able to reuse it in future project without the fear of being flagged as a cheater. You will mainly learn how to use variadic arguments.
The versatility of the printf function in C represents a great exercise in programming for us. This project is of moderate difficulty. It will enable you to discover variadic functions in C.
The key to a successful ft_printf is a well-structured and good extensible code## Features
Supports all these converters, flags and modifiers:
Type | Name
------------ | -------------------------------------------------------------------------------
Converters | %d / %s / %p / %i / %u / %x / %X / %c/ %%
Flags | * / 0 / - / .## Compilation
Run `make` command to compile the libftprintf library.
## Usage
Compile your project with libftprintf.a.
Don't forget to include "ft_printf.h"To compile with the repository main:
```
gcc -Wall -Werror -Wextra main.c libftprintf.a
```moulinette
![]()