Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ndevu12/printf
https://github.com/ndevu12/printf
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ndevu12/printf
- Owner: Ndevu12
- Created: 2023-10-14T10:04:36.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-10-18T15:33:45.000Z (about 1 year ago)
- Last Synced: 2023-10-19T04:14:01.827Z (about 1 year ago)
- Language: C
- Size: 374 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
C - printf
#TEAM OF TWO PROJECT
It is about 15 tasks.
Tasks
0. I'm not going anywhere. You can print that wherever you want to. I'm here and I'm a Spur for life
mandatory
Write a function that produces output according to a format.Prototype: int _printf(const char *format, ...);
Returns: the number of characters printed (excluding the null byte used to end output to strings)
write output to stdout, the standard output stream
format is a character string. The format string is composed of zero or more directives. See man 3 printf for more detail. You need to handle the following conversion specifiers:
c
s
%
You don’t have to reproduce the buffer handling of the C library printf function
You don’t have to handle the flag characters
You don’t have to handle field width
You don’t have to handle precision
You don’t have to handle the length modifiers1. Education is when you read the fine print. Experience is what you get if you don't
mandatory
Handle the following conversion specifiers:d
i
You don’t have to handle the flag characters
You don’t have to handle field width
You don’t have to handle precision
You don’t have to handle the length modifiers