Skip to content

This project is pretty straightforward, you have to recode printf. You will learn what is and how to implement variadic functions.

Notifications You must be signed in to change notification settings

Javisanchezf/42Malaga-ft_printf

Repository files navigation

Ft_printf by javisanchezf

School 42 Málaga cursus project.

This repository contains all archives for the project ft_printf in the School 42 Málaga core cursus. It's a custom-made printf in C language. The repository includes the Makefile and the ft_printf.h library.

About

This project is a C Printf to recode the printf() function from libc to be used in future School 42 cursus projects. You can find more information in the subject.

The code in this repository follows the rules of the Norminette.

Index

Replicates the operation of the get next line function.

Requirements

The library is written in C language and needs the gcc compiler, with <stdarg.h> and <unistd.h> standard libraries to run.

Instructions

1. Download the repository

git clone https://github.com/Javisanchezf/42Malaga-ft_printf.git 42Malaga-ft_printf
cd 42Malaga-ft_printf

2. Compiling the library

make all

3. Cleaning all binary (.o) and executable files (.a)

To delete all files generated with make, go to the path and run:

make fclean

4. Using it in your code

To use the library functions in your code, simply include this header:

#include "ft_printf.h"

Testing

This library have been tested with the normal and strict mode of Francinette to the date of 23/03/2023.

License

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

You are free to:

  • Share: copy and redistribute the material in any medium or format.
  • Adapt: remix, transform, and build upon the material.

Under the following terms:

  • Attribution: You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • NonCommercial: You may not use the material for commercial purposes.
  • ShareAlike: If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.

Share the content!

About

This project is pretty straightforward, you have to recode printf. You will learn what is and how to implement variadic functions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published