Coder Social home page Coder Social logo

ft_printf's Introduction

ft_printf @ 42

it's just a main set to test your printf but my ft_printf is in my library in all my others projects.

Objectifs

• Vous devez recoder la fonction printf de la librairie C.
• Votre fonction s’appelera ft_printf et sera prototypée de la même façon que printf.
• Vous ne ferez pas la gestion de buffer présente dans la fonction printf de la librairie C.
• Vous devez gérer les conversions suivantes : sSpdDioOuUxXcC
• Vous devez gérer le %%
• Vous devez gérer les flags #0-+ et espace
• Vous devez gérer la taille minimum du champ
• Vous devez gérer la précision
• Vous devez gérer les flags hh h l ll j z

Fonctions autorisées

◦ write ◦ malloc ◦ free ◦ exit ◦ les fonctions du man 3 stdarg

Compiling

Run make to compile the library. Use it like you would use the printf function:

int i;

i = 42;
ft_printf("value: %d\n", i);

// value: 42

ft_printf's People

Contributors

hmassonn avatar

Watchers

James Cloos 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.