Skip to content
/ printf Public

The "ft_printf" function is a custom implementation of printf() function in C to handle various conversion specifiers and variable arguments.

Notifications You must be signed in to change notification settings

Archips/printf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ft_printf

The "ft_printf" function is a custom implementation of printf() function in C to handle various conversion specifiers and variable arguments. The objective is to replicate the functionality of the standard printf().

Score

  • 100%

Project Highlight

  • Custom implementation of printf() in C.
  • Support the following conversion:
    %c prints a single character
    %s prints a string
    %p prints a void * pointer in hexadecimal format
    %d prints a decimal (base 10) number
    %i prints an integer in base 10
    %u prints an unsigned decimal (base 10) number
    %x prints a number in hexadecimal (base 16) lowercase format
    %X prints a number in hexadecimal (base 16) uppercase format
    %% prints a percent sign
  • Memory management with no memory leaks.
  • Makefile for easy compilation and project management.

Usage

  1. Clone the repository.
  2. Compile the library using the provided Makefile.
  3. Include the ft_printf.h header in your C projects.
  4. Use the libftprintf.a library in your projects.
  5. Use this command to test it with a test main.c gcc -Wall -Wextra -Werror main.c -L. -lftprintf

Author

Archibald Thirion

About

The "ft_printf" function is a custom implementation of printf() function in C to handle various conversion specifiers and variable arguments.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published