This is a collaboration project between Adedamola Olawale and Fashola Mueenat for the ALX Software Engineering program. This project aims to build a custom implementation of the C printf function. The printf function is responsible for formatted output in C, allowing various types of data to be printed with different formatting options.
The objective of this project is to create a custom printf function, similar to the one defined in the C stdio.h library. The function should be able to take in various arguments and print formatted output to the console. The function will be implemented in C programming language.
The project is organized as follows:
test/main.c: The main program to test the_printffunction._printf.c: The implementation of the_printffunction.main.h: The header file containing function prototypes and any necessary macros or constants.- There are several other helper functions(reusable functions) and functions for every of the printf function.
To build and run the project, follow these steps:
- Clone the project repository:
git clone https://github.com/Dprof-code/printf.git
- Compile using
gcc, using the options-Wall -Werror -Wextra -pedantic -std=gnu89
gcc -Wall -Werror -Wextra -pedantic -std=gnu89 *.c ./test/main.c -o printf
- Run the executable:
./printf
Contributions to this project are welcome! If you have any improvements, bug fixes, or new features to propose, please open an issue or submit a pull request.
This project is licensed under the MIT License
