Skip to content

Printf project Written for Holberton School Year 1

Notifications You must be signed in to change notification settings

mahdixabid/printf

Repository files navigation

header

📰

DESCRIPTION :

We had to create a printf with all of its characteristics, such as the type of format, length modifiers, and so on.

printf :

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

🧬

Function prototype

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

🖇

Examples

String:

  • input : _printf("%s", this is a string);

  • output : this is a string

Character :

  • input : _printf("%s", this is a string);

  • output : this is a string

Integer :

  • input : _printf("%i",20);

  • output : 20

Decimal :

  • input : _printf("%d",1000);

  • output : 1000

🚩

Requiment :
  1. Linux
  2. git
  3. gcc 4.8.4

📢

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
_holberton.h contain all prototypes
get-function.c a file contain printf functions
print_number.c a file that contain integer and decimal numbers
print_string.c a file that contain string/number/percent functions
printf.c a file that contain printf format

📦

Instructions to clone our repository :

sudo apt-get install git

cd /"your folder name"/

git clone https://github.com/mahdixabid/printf


❤️‍🔥Special Thanks to peers cohort 14 :

✦RIM JOUDI @rimjoudi

✦MARWA ALAYA @maroua199525

✏️ Authors :

✦OMAR YAHIA @omaryahia4

✦MAHDI ABID @mahdixabid

About

Printf project Written for Holberton School Year 1

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages