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 Use • Disclaimer
- 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.
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.
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.