GithubHelp home page GithubHelp logo

printf's Introduction

README.md _printf()

_printf() - The function _printf writes output to standard output. An argument is received from format that is a character string which outputs based on the arguments it receives after format. All of the following arguments should address a conversion specifier, addressed with the prefix %.

int _putchar(char c);

int print_char(va_list a);

int print_string(va_list b);

int print_integer(va_list v);

Return Value The return value for _printf() is the length of the output recieved from.

Conversion Specifiers These are indicated by the characters following the % which will indicate the kind of conversion that is taking place. Actions and descriptions follows:

d, i Both d & i correspond to and int argument.

s The const char * specifier converts the argument to a character string.

c This is an int specifier that converts argument(s) to an unsigned char to be printed alone.

Files Included:

_printf.c - The function _printf writes output to standard output.

_putchar.c - Writes the character c to stdout.

get_print_cs%.c - Various functions associated with va_list.

holberton.h - Header file that also contains our struct

printf's People

Contributors

kwhit2 avatar sang-nguy0920 avatar

Watchers

 avatar

Forkers

kwhit2

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.