-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9063dc1
commit 8e3af3c
Showing
1 changed file
with
30 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,32 @@ | ||
# printf | ||
 | ||
|
||
Creating my own printf function. | ||
## Description | ||
_printf is a custom implementation of C printf program function . It produces an output according to format described. It writes output in stdout (standard output stream). | ||
|
||
## Usage | ||
|
||
### String | ||
|
||
* Input: _printf("%s\n", 'Awesome, isn't it?'); | ||
* Output: Awesome, isn't it? | ||
|
||
### Character | ||
|
||
* Input: _printf("Just a char %c\n", 'F'); | ||
* Output: Just a char F | ||
|
||
### Integer | ||
|
||
* Input: _printf("Here we number %i\n", 23); | ||
* Output: Here we have number 23 | ||
|
||
### Decimal: | ||
|
||
* Input: _printf("%d\n", 1000); | ||
* Output: 1000 | ||
|
||
## Authors | ||
|
||
Med Foued Jenni [](https://github.com/Jenni-Foued) </br> | ||
Hadir Jenny [](https://github.com/JennyHadir/) |