Skip to content

A custom-made printf function that writes formatted text to the standard output

Notifications You must be signed in to change notification settings

obithelight/printf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

0x11. C - printf

  • In the C programming language, printf is a function used to format and print text or other data to the standard output (usually the console). It stands for "print formatted" and is part of the standard C library header file <stdio.h>.

  • Printf allows you to combine text and variables in a specific format and then display the formatted output on the screen or in a file.

    wonders_of_printf

Project Concept

Write a custom-made printf function that displays formatted text to the standard output.

Objectives

  • Use various flags and modifiers to control the formatting of the output, such as specifying when to print a single character, an integer, a formatted string, a sentence, decimal places for floating-point numbers, or the width of output fields. The printf function should provide a powerful way to format and display output well-organized.

Edge Cases to Consider

Percent (%)
String output
Integer output
Length of input
Character output
Variable addresses
Hexadecimal numbers
Floating point numbers

Contributors

  • This project was started and finished by Obi and Uncle Ted. All rights reserved.

About

A custom-made printf function that writes formatted text to the standard output

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages