Developed by Felipe Sandim and Felippe Mari for Holberton School Uruguay.
The project is a reproduction of the printf() function that produces output according to a format.
Program is compiled on Ubuntu 20.04 LTS with the following command:
$ gcc -Wall -Werror -Wextra -pedantic -std=gnu89 -Wno-format *.c
Not all specifiers of printf() are used, the required ones are:
%c
- Used to print a character
%s
- Used to print a string
%%
- Used to print a percentage (%) symbol
%d
- Used to print a decimal integer
%i
- Used to print a decimal, octal or hexadecimal integer
_printf.c
- main program that produces output according to a format
_putchar.c
- writes a character
all_the_functions.c
- functions to print the specifiers
main.c
- test program
main.h
- main header file: includes to libraries, structs and functions needed
Command: _printf("Hello%s0, ", World!")
Returns: Hello, World!