Skip to content

Ft_printf (42cursus) 2021-2022. Remake printf. A project usefull for the next projects. The aim is to learn how variadic functions works.

Notifications You must be signed in to change notification settings

Ra-Wo/ft_printf

Repository files navigation

ft_printf

This is a recoding of the printf function, made as an assignment at 1337. It works with the c, s, p, d, i, u, x, X, %.

How to run it

 #clone the project and compile it
 git clone https://github.com/Ra-Wo/ft_printf.git && cd ft_printf && make
 # Create a main file
 touch main.c
/* Example of a main */

#include "ft_printf.h"

int main()
{
	char *string = "I love you";
	int number = 3000;
	ft_printf("%s %d", string, number);
	return 0;
}
# Compile the files, example:
gcc main.c libftprintf.a

# Execute your program
./a.out

# Well done!

forthebadge forthebadge

About

Ft_printf (42cursus) 2021-2022. Remake printf. A project usefull for the next projects. The aim is to learn how variadic functions works.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published