Skip to content

anaruzz/printf

Repository files navigation

Printf project

The goal of this project is to create a function that produces output according to a format. Inspired by printf from the C Standard Library

Installation

git clone git@github.com:anaruzz/printf.git

Compilation

  • The code will be compiled this way:
$ gcc -Wall -Werror -Wextra -pedantic *.c -o monty

Usage

  • Include holberton.h
  • Call the function _ printf passing optional arguments.
  • Use format specifiers for desired output.
  • The function returns -1 if an error occurs.

Example Usage

  • _ printf("Hello, world\n") prints "Hello, world" followed by a new line
  • _ printf("%d\n", 5) printf the decimal number, 5 followed by a new line
  • _ printf("%c", 'a') prints the character 'a'

Authors

Ghofrane Abidi - Atef Mechken

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages