The printf
function is function in the C - programming standard library which is used for formatted output. It stands for print formatted
. The printf
function basically allows the user to print text and data to standard output in a structured and formatted way.
This project aims to replicate the standard printf
function.
- The essence of this project is for you to put into practice all the concepts that you have been introduced to so far and see how they all work together in a real world use case.
- Develop a custom
_printf()
function that emulates the functionality of the standard library functionprintf()
. - Deepen your understanding of the C programming language.
- Processes Format Specifiers such as
%d
,%s
,%c
, etc, including custom format specifiers which cannot be used with the standardprintf
function. - Deals with format string errors, handles argument mismatches and returns error codes or handling exceptions.
- Handles different data types.
- Optimized performance and efficiency
You need a good understanding of the following:
- [Arrays]
- [Structures & Typedef]
- [Pointers]
- [Function Pointers]
- [Argv & Argc]
- [Variadic Functions]
- [Dynamic Memory Allocation (Malloc)]
-
Clone the repository:
https://github.com/Huclark/printf.git
This is a team project with the following contributors:
- Huclark Vanderpuye (@Huclark)
- Chioma Christopher (@ChiCodex)