Giter Site home page Giter Site logo

ft_printf's Introduction

ft_printf

Welcome to the ft_printf project! This project is part of the curriculum at School 42 and is designed to help you understand and implement the functionality of the C standard library function printf.

Installation

To get started with the ft_printf project, follow these steps:

  1. Clone the project repository from the School 42 GitLab server.
  2. Navigate to the project directory.

Usage

Here's an example of how to use ft_printf:

#include "ft_printf.h"

int main() {
    ft_printf("Hello, %s!\n", "world");
    ft_printf("Hello, %d!\n", 42);
    return 0;
}

In the example above, ft_printf is used to print a string and a formatted floating-point number to the console.

Documentation

The ft_printf function supports a wide range of format specifiers and options. Here are some commonly used format specifiers:

  • %d or %i: Signed decimal integer.
  • %u: Unsigned decimal integer.
  • %s: String.
  • %c: Character.
  • %x or %X: Hexadecimal number.
  • %p: Pointer address.

For detailed information about the available format specifiers and their options, refer to the documentation or the project source code.

Credits

This project was completed by Thibault GIRAUDON (tgiraudo) as part of the curriculum at École 42.

ft_printf's People

Contributors

thibaultgiraudon 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.