Skip to content

This project aims to code a custom implementation of the C printf function

Notifications You must be signed in to change notification settings

reomelo/42Porto-ft_printf

Repository files navigation

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.

About

This project aims to code a custom implementation of the C printf function

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published