Skip to content

H-kaddour/printf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 

Repository files navigation

Printf

image

The project PDF:

https://cdn.intra.42.fr/pdf/pdf/37929/en.subject.pdf

Tester:

https://github.com/Tripouille/printfTester

List of thing you gonna pick up during this project:

👋First you need to learn about Variadic variales the structure of them and how they work behind the scene this are some links to learn about them: First manual it in the terminal man stdarg.

What is Variadic variables:

  1. GG: Check it out.
  2. GNU: Check it out.
  3. CPP: Check it out.
  4. To know the behavior of va_list in the code: Check it out.
  5. Under the hood of Va_list: Check it out.
  6. Book of how Variadic variables works in assembly: Check it out.
  7. A video of how variadic variables works: Check it out.
  8. The secret of printf: Check it out.
  9. How printf works: Check it out.
  10. A brief on printf: Check it out

Things i learned in Makefile in this project Add color for every excution:

YELLOW=$'\x1b[33m
BLUE=$'\x1b[34m
CYAN=$'\x1b[36m

You can add any color. I print it cuz i made the command work silently, @ work siently. image

@echo "$(CYAN) compile $(YELLOW) $^ $(BLUE)to $@"

My final point:

image I didn't have time to work in the bonus.

Thank you for reading, have a good one 🚀.

Releases

No releases published

Packages

No packages published