Skip to content

PietarTheWise/ft_printf

Repository files navigation


ft_printf

My take on the famous printf function of standard c library. Welcome to the edge case hell of a project.

What does it do?How To UseDisclaimer

What does it do?

  • A replication of the standard c library's printf function.
  • Uses varargs so you can format n number of values into a string.
  • Handy for debugging.
  • Handles floating points.
  • Has most of the flags that appear in the og printf.

How To Use

To clone and run this application, you'll need Git and gcc compiler installed on your computer. This has been tested only on MacOs. Run the following commands on the command line:

# Clone this repository
$ git clone https://github.com/PietarTheWise/ft_printf.git
# Build the program by typing:
$ make
# in command line

# Compile the your code with gcc and call the function in your file like you do with other libraries.

DISCLAIMER

This is a project from the 42 school, which is a school that utilizes peer to peer learning. We're only given a document that gives us the details of the assignment, therefore each implementation is unique. Each assignment is tested for crashes and other bugs thoroughly by other peers. Apart from some exceptions, existing libraries are banned, these projects utilize our self made version of libc called libft.

About

My version of <stdio.h> printf function implemented in c.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors