Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 945 Bytes

README.md

File metadata and controls

40 lines (26 loc) · 945 Bytes

ft_printf

This project provides an ideal opportunity to learn and practice creating formatted output in C. The ft_printf function creates a formatted string and prints it to standard output or to a file. In this project, you learn to work with variable arguments, analyze the format string and generate output in the appropriate format.

For more detailed information, look at the subject of this project.

Usage

Requirements

The function is written in C language and thus needs the gcc compiler and some standard C libraries to run.

Instructions

1. Compiling the library

To compile, go to the library path and run:

$ make

2. Using it in your code

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

#include "ft_printf.h"

Example

#include "ft_printf.h"
int main()
{
    ft_printf("My name is, %s\n", "Ali");
    return (0);
}