You must recode the printf function from the C library according to the C99 standard. Your function should be prototyped like the printf function. You do not have to implement the C library printf buffer handling. You must process all printf formating flags except the following (which are optional):
- float or double types management,
- %n flag management,
- "*" , "’" and "I" (capital i) flags management.
You must add a %b formating flag, which prints unsigned numbers in a binary base. You must also add a %S formating flag, which prints a character string (like %s). However, non-printable characters (ASCII value strictly smaller than 32 or greater or equal than 127) must be represented by a back slash to be followed by the character’s value in octal base.
See the subject for further details !
========================
Grade : D | Mark : 1.5
Category | Percentage | Tests | Crash ? |
---|---|---|---|
Base tests | 62.5% | 5/8 | Yes (1) |
Easy tests | 76.9% | 10/13 | x |
Medium tests | 66.7% | 4/6 | x |
Easy format tests | 0% | 0/9 | x |
Medium format tests | 0% | 0/6 | x |
Hard format tests | 0% | 0/6 | x |
End scores | 39.6% | 19/48 | Yes (1) |
Beware of -42 Epitech students !!!