Printf _printf version of printf written by Andrew Keil and Pamela Maupin
This version of _printf acts like the printf function._printf is the function used to display the output text on terminal in C programming laguage. It uses many conversions, the ones that we will be using in this _printf are s, i, d, %%, R, r, d and b. It will return the number of characters printed.
Example Using _printf:
To print a string: #include "holberton.h"
_printf("String:[%s]\n", "I am a string !"); Output- String: [I am a string !]
About The Project:
All files are Betty formatted. All files are compiled with: $ gcc -Wall -Werror -Wextra -pedantic *.c
Bugs:
This _printf function cannot handle the x,X,o conversions and the l and h modifers.
Files:
- _print_binary.c : Contains the code for converting integers into binary.
- _printf.c : Contains the code for _printf.
- adv_conversions.c : Contains the rot13 function and print reverse string
- buffer.c : Contains the buffer.
- conversions.c : Contains the functions used for specific conversions.
- formatter.c : Contains the array of structures.
- helper.c : Contains helper functions.
- holberton.h : Header file that contains the prototypes for used functions and the standard libraries used.
- README.md : Current file that has information about the project.
- man_3_printf : the man page for _printf.