vinicius507 / ft_printf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OS Language Grade Status

42 Printf

build norminette

This repository contains my submission to the 42 Printf project for 42 School. The goal of this project is to create a library that provides printf like utility functions.

Introduction

The libftprintf library is a collection of formatted output functions inspired by the standard printf function. It encompasses a variety of variations, each serving a specific purpose:

  • ft_printf and ft_vprintf: Format and print data to the console.
  • ft_dprintf and ft_vdprintf: Format and write data to a file descriptor.
  • ft_sprintf and ft_vsprintf: Format and store output in a string buffer.
  • ft_asprintf and ft_vasprintf: Dynamically allocate memory for formatted output as a string.

Usage

Warning

During the 42 curriculum you are required to develop and use your libftprintf library.

To use the libftprintf library, follow these steps:

  1. Clone this repository to your local machine.
  2. Navigate to the repository's root directory.
  3. Run make to compile the library.

A compiled library named libftprintf.a will be generated. You can link this library with your C programs to access the provided functions.

Related Projects

About

License:GNU Affero General Public License v3.0


Languages

Language:C 93.7%Language:Nix 3.8%Language:Makefile 2.5%