Skip to content

nemu69/ft_printf

Repository files navigation

42-lyon

Ft_printf

Note

Description

The versatility of the printf function in C represents a great exercise in programming for us. This project is of moderate difficulty. It will enable you to discover variadic functions in C. The key to a successful ft_printf is a well-structured and good extensible code.

Mandatory part

Sujet

  • The prototype of ft_printf should be int ft_printf(const char *, ...);
  • You have to recode the libc’s printf function
  • It must not do the buffer management like the real printf
  • It will manage the following conversions: cspdiuxX%
  • It will manage any combination of the following flags: ’-0.*’ and minimum field width with all conversions
  • It will be compared with the real printf
  • You must use the command ar to create your librairy, using the command libtool is forbidden.

About

This project is pretty straight forward. You will recode printf. Hopefully you will be able to reuse it in future project without the fear of being flagged as a cheater. You will mainly learn how to use variadic arguments.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors