https://github.com/kamalelalami/ft_printf-1337
https://github.com/kamalelalami/ft_printf-1337
c-programming memory-manipulation string-manipulation variadic-function
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kamalelalami/ft_printf-1337
- Owner: KamalElAlami
- Created: 2023-12-06T19:26:54.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-03-27T16:44:25.000Z (about 1 year ago)
- Last Synced: 2025-01-11T14:15:12.243Z (4 months ago)
- Topics: c-programming, memory-manipulation, string-manipulation, variadic-function
- Language: C
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ft_printf - My 1337 Project Journey 📚
## Description
`ft_printf` is a significant project undertaken during my time at 1337 FIL, aimed at implementing a custom version of the standard C library function `printf`. This project challenged me to understand the intricacies of formatting and outputting data in various formats.## My Learning Journey 🚀
Throughout the development of `ft_printf`, I encountered and explored several key concepts:
1. **Parsing Format Specifiers:** Understanding how to parse format specifiers and extract relevant information from format strings was crucial in implementing the core functionality of `ft_printf`.
2. **Handling Conversion Specifiers:** Implementing conversion specifiers such as `%d`, `%s`, `%c`, etc., required careful consideration of different data types and their corresponding formatting requirements.3. **Variadic Functions:** Implementing variadic functions and managing variable arguments (`...`) was essential for handling a variable number of arguments passed to `ft_printf`.
4. **Integration with Standard Library Functions:** Integrating `ft_printf` with other standard library functions, such as `malloc`, `write`, and `libft`, enhanced the functionality and usability of the project.
## Reflection 🤔
The development of `ft_printf` was a challenging yet rewarding experience that deepened my understanding of C programming, particularly in the areas of string manipulation, memory management, and format parsing. It required careful attention to detail, meticulous debugging, and creative problem-solving skills.## Conclusion 🎉
`ft_printf` served as a significant milestone in my journey at 42 School, solidifying my understanding of fundamental concepts in programming and enhancing my skills in software development. It was a project marked by perseverance, determination, and continuous learning, shaping me into a more capable and confident programmer.