Skip to content

fedy69/printf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description 📕

Our _printf function has as prototype :

int _printf(const char *format, ...);

printf in c programming language, printf() function is used to print ("character,string,float,integer,octal,and hexadecimal values") onto the output screen.

C language standard functions allowed: 👋

  • write (man 2 write)
  • va_start (man 3 va_start)
  • va_end (man 3 va_end)
  • va_arg (man 3 va_arg)

Compilation : ⚡

Our code is compiled this way:

$ gcc -Wall -Werror -Wextra -pedantic *.c

All our files are tested on Ubuntu 14.04 LTS in a VirtualBox on it via Vagrant(2.2.14) using the Betty style.


C language standard functions allowed:

  • WRITE (MAN 2 WRITE)
  • va_start (man 3 va_start)
  • va_end (man 3 va_end)
  • va_arg (man 3 va_arg)

Format tags used in _printf :

Specifiers Printed As
c characters
s string of characters
d or i int to signed decimal
R string to rot 13
r reversed string
b int to binary
% no conversion, writes '%'

Concept of the project : ➡️
  1. How to work in team
  2. How to apply the vardic function
  3. How printf works
  4. how to use git in team setting

Files Required : :
File Description
_putchar.c a file that contain putchar config
main.h contain all prototypes
_printf.c a file contain printf functions
print_func.c a file that contain integer and decimal numbers
print_string.c a file that contain string/number/percent functions
function.c a file that contain printf format
Authors : 👯

✦Eya zidi @EyaZidi19

✦Fedy chihaoui @Fedy69

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages