Giter Club home page Giter Club logo

ft_printf's Introduction

ft_printf

Ce projet est clair et efficace. Vous devez recoder printf(). Vous aurez dès lors la possibilité de le réutiliser dans vos futurs projets.

Ce projet porte principalement sur les arguments à taille variable.

Checklist

  • %c Imprime un seul caractère
  • %s Imprime une chaîne de caractères (selon la convention C courante)
  • %p L'argument du pointeur void * doit être imprimé en format hexadécimal
  • %d Imprime un nombre décimal (base 10)
  • %i Imprime un entier en base 10
  • %u Imprime un nombre décimal non signé (base 10)
  • %x Imprime un nombre en format hexadécimal (base 16) en minuscules
  • %X Imprime un nombre en format hexadécimal (base 16) en majuscules
  • %% Imprime un signe de pourcentage

Install

sudo apt update -y
sudo apt install -y ar
sudo apt install -y make
mkdir -p $HOME/.local/lib
mkdir -p $HOME/.local/src
mkdir -p $HOME/.local/include
name=libftprintf

git clone https://github.com/Skalyaeve/ft_printf.git $name
cd $name && make && make clean

ln -s $PWD/$name.a $HOME/.local/lib/$name.a
ln -s $PWD/src $HOME/.local/src/$name
ln -s $PWD/include $HOME/.local/include/$name

Usage

  • gcc flags:
-L $HOME/.local/lib -lftprintf

Uninstall

name=libftprintf

rm -rf $name
rm $HOME/.local/lib/$name.a
rm $HOME/.local/src/$name
rm $HOME/.local/include/$name

ft_printf's People

Contributors

skalyaeve avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.