/ft_printf

The goal of this project is to recreate the printf() function. It is all about mastering one of the key concepts in C, functions with a variable number of arguments, the variadic functions.

Primary LanguageC

Logo

ft_printf

42 Porto ft_printf


๐Ÿ”ท View Demo ยท ๐Ÿชฒ Report Bug ยท ๐Ÿ’ฌ Request Feature


Explore the Subjetc ยป

๐ŸŒŸ About The Project

The main goal of the project is to recreate the C standard library printf function, understanding about variadic functions being the academic goal. The function ft_printf should be able to take an indefinite number of parameters, the first of which is always a string. The flags that the function must handle are cspdiuxX%. It is not necessary to implement the buffer management of the original printf().

๐ŸŽฏ Table of Contents

  • Mandatory Part

    • Makefile
    • ft_printf.h
    • .c Files
      • ft_printf
      • ft_checkspecifier
      • ft_printfc
      • ft_printfd
      • ft_printfp
      • ft_printfs
      • ft_printfs
      • ft_printfu
      • ft_printfx
  • Bonus Part

    • Makefile
    • Header
      • .c files

๐Ÿ‘‹ Contributing


Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

๐Ÿ”ง Running Tests

ยท ๐Ÿ“Ž Francinette ยท

๐Ÿ“ท Screenshots

Libft-Unit-Test

(back to top)