The project PDF:
https://cdn.intra.42.fr/pdf/pdf/37929/en.subject.pdf
Tester:
https://github.com/Tripouille/printfTester
👋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:
- GG: Check it out.
- GNU: Check it out.
- CPP: Check it out.
- To know the behavior of va_list in the code: Check it out.
- Under the hood of Va_list: Check it out.
- Book of how Variadic variables works in assembly: Check it out.
- A video of how variadic variables works: Check it out.
- The secret of printf: Check it out.
- How printf works: Check it out.
- 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.
@echo "$(CYAN) compile $(YELLOW) $^ $(BLUE)to $@"
I didn't have time to work in the bonus.
Thank you for reading, have a good one 🚀.