Skip to content

Project 42 | Replica of the Printf function | Level 1 - Common Core

License

Notifications You must be signed in to change notification settings

HaruSnak/Ft_Printf

Repository files navigation

printf

Ft_Printf

ft_printf is a reimplementation of the standard printf function of the C language, created as part of the school 42 curriculum. It allows, like printf, to display formatted text on the standard output following precise format specifiers.

Contributors Forks Stargazers Issues LinkedIn

📒 Index

About

Printf conversions:

  • %c Prints a single character.
  • %s Prints a string (as defined by the common C convention).
  • %p The void * pointer argument has to be printed 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.

Installation

# Clone this repository
$ git clone https://github.com/HaruSnak/Ft_Printf.git

# Go into the repository
$ cd Ft_Printf

# To compile the program
$ make

# Allows you to do a complete cleaning of your construction environment
$ make fclean # Or make clean

Development

File Structure

.
└── 📁printf
    └── Makefile
    └── README.md
    └── ft_conv_primary.c
    └── ft_conv_specifies.c
    └── ft_conv_suit.c
    └── ft_printf.c
    └── ft_printf.h
    └── ft_putchar.c
    └── ft_putchar_fd.c
    └── ft_putnbr.c
    └── ft_putstr.c
    └── ft_strlen.c

Notes

100/100

Credits

Below you will find the links used for this project:

About

Project 42 | Replica of the Printf function | Level 1 - Common Core

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published