Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vinicius-santoro/42-formation-lvl1-3.printf
Project 3: get_next_line - Third project for the formation of software engineers at school 42 São Paulo.
https://github.com/vinicius-santoro/42-formation-lvl1-3.printf
42born2code 42school c shell-script software-engineering stdarg
Last synced: 16 days ago
JSON representation
Project 3: get_next_line - Third project for the formation of software engineers at school 42 São Paulo.
- Host: GitHub
- URL: https://github.com/vinicius-santoro/42-formation-lvl1-3.printf
- Owner: Vinicius-Santoro
- Created: 2021-10-02T04:07:13.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-01T22:09:53.000Z (about 3 years ago)
- Last Synced: 2024-11-06T15:32:04.534Z (2 months ago)
- Topics: 42born2code, 42school, c, shell-script, software-engineering, stdarg
- Language: C
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
42-formation-lvl1-3.printf
### _Project 3: Printf - Third project for the formation of software engineers at school 42 São Paulo_
- This project consists of recreating the printf function from the library.
### _The project provide to manage the following conversions:_
| Specifier | Description |
|--------------|--------------------------------------------|
| %c | Single character |
| %s | String of characters |
| %p | Pointer in hexadecimal |
| %d | Signed decimal integer |
| %i | Signed decimal integer |
| %u | Unsigned decimal integer |
| %x | Unsigned hexadecimal integer (lowercase) |
| %X | Unsigned hexadecimal integer (uppercase) |
| %% | Two followed "%" will write a "%" |## _Implementation files:_
- [`Makefile`](printf/Makefile)
- [`Header file`](printf/ft_printf.h)## _Functions made in this project:_
- [`ft_printf`](printf/ft_printf.c) - it goes through the printf string and checks the formatting type.
- [`ft_types.c`](printf/ft_types.c) - format type check and return.
- [`libft.c`](printf/libft.c) - auxiliary functions for printf. (functions were done in the first project - Libft).