'atlas-printf' is a custom implementation of the 'printf' function in C. This project replicates the behavior of the standard C library 'printf' function, handling specific conversion specifiers such as '%c', '%s', and '%%'. The goal is to provide a foundational understanding of how formatted output works in C by implementing these features from scratch.
To compile the code, use the following command:
gcc -Wall -Werror -Wextra -pedantic -std=gnu89 -Wno-format *.c
To run the program, use: ./a.out
Here are some examples on how to use the '_printf' function:
_printf("Character: [%c}\n", 'H');
_printf("String: [%s]\n", "Hello, World!");
_printf("Percent: [%%]\n");
_printf("Integer: [%d]\n", 42);
_printf("Negative integer: [%d\n", -42);
Natalie Richie
James Hamby
Ari Williams