Skip to content

This project aims to create our own version of the printf function in the C programming language.

Notifications You must be signed in to change notification settings

AslanAmca/ft_printf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);
}

About

This project aims to create our own version of the printf function in the C programming language.

Topics

Resources

Stars

Watchers

Forks