Skip to content

evie-8/printf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My printf project

  • This project involves creating a printf function that takes in any data type

Mandatory tasks

  • Write function that produces output with conversion specifiers c, s, and %
  • Handle conversion specifiers d, i.

Advanced tasks

  • Handle conversion specifier b.
  • Handle conversion specifiers u, o, x, X.
  • Use a local buffer of 1024 chars in order to call write as little as possible.
  • Handle conversion specifier S.
  • Handle conversion specifier p.
  • Handle flag characters +, space, and # for non-custom conversion specifiers.
  • Handle length modifiers l and h for non-custom conversion specifiers.
  • Handle the field width for non-custom conversion specifiers.
  • Handle the precision for non-custom conversion specifiers.
  • Handle the 0 flag character for non-custom conversion specifiers.
  • Handle the custom conversion specifier r that prints the reversed string.
  • Handle the custom conversion specifier R that prints the rot13'ed string.
  • All above options should work well together.

Collaborators of the project

  • Ejiabor Ifeoma Maryjane.
  • Nafula Evelyn Ouma.

About

Creating our own printf function

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages