Skip to content

Rode1o/printf

Repository files navigation

printfProject

Building a customized Printf function This project is a mini printf function that we can find in the library <stdio.h>, if we are using the C Language. Basically it allows us to print any argument given to standard or terminal output. This means that we can print any combination of strings, integers and other different data types.

HOW IT WORKS?

Note

If you want to review the manual of our _printf function you can execute in your terminal:

$ man ./man_3_printf

Formats

  • %c: This type of format is used to represent a character
  • %s: This type of format is used to represent a string of characters
  • %d or %i: This type of format is used to represent base 10 signed integer (int)
  • %%: In this case, the character% is printed
  • %u: Unsigned decimal notation
  • %r: Reverse a string notation
  • %R: This format prints a string in rot13 notation
  • %o: Unsigned base 8 integer (int)
  • %b: This format refers to binary number.

Diary Blog:

0 Meet (12/03/21)
  • Planned step modules for printf
  • Addeda minimun Header
  • 1 Meet (13/03/21)
  • Added Manual
  • Processing header.h, printf.c, and function pointers
  • 2 Meet (14/03/21)
  • First attemp to functions module, rewrite code, close to end
  • 3 Meet (15/03/21)
  • Rewrite again code, a bunch of check fails
  • Update betty, README
  • Environment

    Authors

    About

    Building Printf function

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published

    Languages