This project was part of the ALX SE program curriculum which took place from 13 May to 18 May 2022. Here we were required to work in teams of two to create the _printf()
function similar to printf()
in the C
standard library.
Below we list the files in this directory and what they do in the program. The files can be compiled using the command:
gcc -Wall -Werror -Wextra -pedantic -std=gnu89 *.h *.c
using the -o
option
- _printf.c does all the heavy lifting.
- conv_specifiers.c handles characters,
c
, strings,s
, and percentage%
. - conv_specifiers_1.c handles integers (
i
abdd
) - main.h contains all the function prototypes for this project.
- writer_functions contains all the necessary writing functions which are the
_putchar
and_puts
functions inspired by those in the standard library.
The file/s below is/are the framework on which this project was built