Skip to content
/ printf Public

[printf] project school 42. My mini implementation of printf in C.

Notifications You must be signed in to change notification settings

osmosx/printf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

printf

This projects seeks to discover variadic functions in C in a particularly relevant context, as well as to learn about a great example of a basic “dispatcher” in C via the use of an array of function’s pointers. This projects represents a good exercise in programming, because of printf's versatility in C. The key to a successful ft_printf is a well-structured and good extensible code.

Conversions

Specifiers Description
%c Print a single character.
%s Print a string of characters
%p The void * pointer argument is printed in hexadecimal.
%d Print a decimal (base 10) number.
%i Print an integer in base 10.
%u Print an unsigned decimal (base 10) number.
%x Print a number in hexadecimal (base 16)
%% Print a percent sign '%'

About

[printf] project school 42. My mini implementation of printf in C.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published