Skip to content
/ printf Public

the 3rd project at Hive Helsinki. the legendary printf clone

Notifications You must be signed in to change notification settings

jhesso/printf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

printf

For the ft_printf project of the 42 school cursus, we must recreate the famous C library printf function. This project teaches us about variadic arguments.

  • Supported conversions: %, c, s, p, i, d, u, x, X

Status

Finished: 2022-12-19. Grade: 100/100.

Usage

make or make bonus to compile.

Basic Usage

For example, let's create a main.c file.

// Include the header
#include "ft_printf.h"

int main(void)
{
      // Call the function
      ft_printf("Hello World!\n");
      return (0);
}

Compile the main.c file with the ft_printf library and run the program:

./a.out

Output should be:

Hello World!

Made by jhesso: [email protected] | LinkedIn: jhesso

About

the 3rd project at Hive Helsinki. the legendary printf clone

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published