Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ft_printf

ft_printf is a training project that was implemented at 42 (Moscow campus).

There is a library that contains ft_printf(), a function that mimics the original C printf().

  • Implemented types: c, s, p, d, i, u, x, X, %
  • Implemented options: -, 0, ., *

Usage

Create library: make
Remove *.o files: make clean
Remove *.o and *.a files: make fclean

Compilation

Create main.c file and compile:

gcc main.c libftprintf.a

Execution

./a.out

Main example:

#include "libftprintf.h"

int main()
{
      ft_printf("Hello, World!\n");
      return (0);
}

Output:

Hello, World!

Additional information

42 is a computer programming school that is entirely free and available to students who are 18-years or older. Its teaching methods are based on peer learning: no teachers, no lectures, fully hands on. The education model focuses on project-based learning and teamwork, rather than theoretical education. There are a lot of campuses all over the world in the 42 NETWORK.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages