ft_printf is a custom implementation of the C standard library function printf in C. This project provides a versatile and extensible printf function that can be used to format and print various data types to the standard output. It offers a comprehensive set of format specifiers, allowing you to control the appearance of data in your C programs. Designed as a learning exercise, this printf implementation serves as a useful educational tool for understanding string formatting and variadic functions in C
Functions | Other |
---|---|
ft_printf.c | Makefile |
ft_putnbr_base.c | ft_printf.h |
ft_strlen.c | |
ft_putstr_fd.c | |
ft_putchar_fd.c |
- Clona este repositorio y entra en él, asegúrate de que se llama:
git clone <https://github.com/VolmerES/ft_printf.git>
cd ft_printf/
- Ejecuta Make para que puedas construir la biblioteca:
make
make - compila los archivos obligatorios de printf
make clean - elimina todos los archivos *.o
make fclean - elimina todos los archivos *.o y *.a (ejecutables)
make re - usa fclean + all, recompila printf
- Para incluirlo en tu código, incluye la cabecera
#include 'ft_printf.h"
To standart test, go to printf path and run:
All standard tests should work perfectly.
$ paco
To strict test, go to the library path and run:
The “strict” tests do not work correctly, the function does not return -1 and lacks certain protections…
$ paco -s
The “strict” tests do not work correctly, the function does not return -1 and lacks certain protections…
The bonus part of the project is not included.
I’m 42Network student at 42Madrid(Spain)
You can track my progress through the common core at:
https://profile.intra.42.fr/users/jdelorme
More about:
https://img.shields.io/badge/linkedin-0A66C2?style=for-the-badge&logo=linkedin&logoColor=white
This project is licensed under the MIT License. See the LICENSE file for details.