Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.26 KB

README.md

File metadata and controls

30 lines (22 loc) · 1.26 KB

Screenshot from 2023-11-01 16-49-27

Description of the project:

This project consists of implementing a custom version of the C printf function.

Available flags:

%c - Prints a single character
%s - Prints a string
%p - Prints a pointer address
%d or %i - Prints a signed integer
%u - Prints an unsigned integer
%x or %X - Prints an unsigned integer in hexadecimal format

Installing and running the project:

1- Clone this repository and enter it:

git clone https://github.com/reomelo/42Porto-ft_printf.git && cd 42Porto-ft_printf

2- Run make and compile your program with libftprintf.a:

make && cc -Wall -Wextra -Werror main.c libftprintf.a

Makefile Available Targets:

make or make all - compiles the project
make clean - wipes all object files
make fclean - deletes libftprintf.a and all object files
make re - fclean + all


At 42School, almost every project must be written in accordance to the Norm. As a result, parts of the code are not as clean, efficient or straight forward as they could be.