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, ., *
Create library: make
Remove *.o files: make clean
Remove *.o and *.a files: make fclean
Create main.c file and compile:
gcc main.c libftprintf.a./a.out#include "libftprintf.h"
int main()
{
ft_printf("Hello, World!\n");
return (0);
}Output:
Hello, World!
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.