https://github.com/carolina-tcn/ft_printf
A recreation of the printf function from the C standard library using va_list and data type handling.
https://github.com/carolina-tcn/ft_printf
42 c printf-42 variadic-functions
Last synced: 10 months ago
JSON representation
A recreation of the printf function from the C standard library using va_list and data type handling.
- Host: GitHub
- URL: https://github.com/carolina-tcn/ft_printf
- Owner: carolina-tcn
- Created: 2024-02-09T19:03:02.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-12-14T17:49:22.000Z (over 1 year ago)
- Last Synced: 2025-08-20T17:54:11.067Z (10 months ago)
- Topics: 42, c, printf-42, variadic-functions
- Language: C
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
ft_printf 🛠️🖋️
Es una reimplementación de la función estándar printf() de la biblioteca C.
Este proyecto explora el manejo de funciones variádicas y la construcción de una herramienta versátil para la impresión de datos en diferentes formatos.
La función ft_printf() soporta las siguientes conversiones:
%c: Imprime un carácter.
%s: Imprime una cadena de texto.
%p: Imprime un puntero en formato hexadecimal.
%d/%i: Imprime un entero en base 10.
%u: Imprime un número sin signo en base 10.
%x/%X: Imprime un número hexadecimal en minúsculas/mayúsculas.
%%: Imprime el símbolo %.
Este proyecto no solo replica el comportamiento básico de printf(), sino que también está diseñado para ser extensible y estructurado,
facilitando su inclusión en futuras bibliotecas como parte de la libft.