Skip to content

Hotaruban/ft_printf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ft_printf

The "ft_printf" project challenges participants to implement their own version of the printf function in C. The objective is to develop a custom printf function capable of formatting and printing various data types, including strings, integers, and floating-point numbers, while supporting a range of formatting options.

Key Points:

Printf Functionality: Participants are tasked with recreating the core functionality of the printf function, allowing for versatile formatting and output.

Format Specifiers: The project involves handling a variety of format specifiers (e.g., %s for strings, %d for integers, %f for floats) and ensuring accurate formatting based on these specifiers.

Modifiers and Flags: Participants implement modifiers and flags to control the display format, precision, and width of the output. This includes handling field width, precision, and alignment.

Varargs: Mastery of variable arguments (varargs) is essential for this project, as printf should be able to handle a variable number of arguments.

Return Value: The project requires participants to manage the return value of printf, providing a count of characters printed.

Methodology:

Participants will leverage their understanding of string manipulation, pointers, and variadic functions to create a functional printf implementation. The project encourages a deep dive into the intricacies of format parsing and output generation.

Assessment:

Evaluation is based on the accurate implementation of printf functionality, correct handling of various format specifiers and modifiers, and the ability to produce formatted output as expected. Attention to edge cases and efficient memory management may also be considered in the assessment.

The "ft_printf" project serves as a comprehensive exercise in understanding the inner workings of the printf function, offering participants the opportunity to enhance their skills in string manipulation, memory management, and variadic functions in the C programming language.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors