https://github.com/deryaxacar/42-ft_printf
This project is a reimplementation of the printf function in standard C. The printf function is used to produce formatted output and supports various data types and format specifiers. The ft_printf function recreates the same behavior while operating independently of standard library functions, providing a fully customizable structure.
https://github.com/deryaxacar/42-ft_printf
42 42-ft-printf 42born2code 42cursus 42ftprintf 42projects 42school c-programming c-programming-language c-project c-projects cpp ft-printf print printf printf-42 project
Last synced: 3 months ago
JSON representation
This project is a reimplementation of the printf function in standard C. The printf function is used to produce formatted output and supports various data types and format specifiers. The ft_printf function recreates the same behavior while operating independently of standard library functions, providing a fully customizable structure.
- Host: GitHub
- URL: https://github.com/deryaxacar/42-ft_printf
- Owner: deryaxacar
- Created: 2024-01-10T20:06:36.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-25T16:06:36.000Z (4 months ago)
- Last Synced: 2025-03-27T04:07:07.327Z (3 months ago)
- Topics: 42, 42-ft-printf, 42born2code, 42cursus, 42ftprintf, 42projects, 42school, c-programming, c-programming-language, c-project, c-projects, cpp, ft-printf, print, printf, printf-42, project
- Language: C
- Homepage: https://github.com/deryaxacar/42-Ft_printf
- Size: 1.45 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
42 - Ft_printf 🖨️
Bu proje, standart C dilindekiprintf
işlevinin yeniden yazılmasıdır.printf
işlevi, biçimlendirilmiş bir çıktı oluşturmak için kullanılır ve çeşitli veri türlerini ve biçim belirteçlerini destekler.ft_printf
işlevi, aynı davranışı yeniden oluştururken, standart kütüphane fonksiyonlarından bağımsız olarak çalışır ve tamamen özelleştirilebilir bir yapı sunar.## Projenin Amacı 🎯
Bu proje,
printf
işlevinin temel işleyişini anlamak ve benzer bir işlevi kendimiz yazarak pratik yapmak amacıyla oluşturulmuştur. Ayrıca, bu proje C dilinde dize işleme, bellek yönetimi ve biçimlendirme konularında derinlemesine bir anlayış kazanmamıza yardımcı olur.## Kullanım Senaryoları 🛠️
ft_printf
işlevi, standartprintf
işleviyle benzer bir arayüz sunar. Kullanım senaryoları şunları içerebilir:- Basit metin ve değişken içeren çıktılar:
ft_printf("Hello, %s!\n", "world");
- Sayıları biçimlendirme:ft_printf("Decimal: %d, Hexadecimal: %x\n", 42, 42);
- Özel biçim belirteçleri kullanma:ft_printf("Float: %f, Char: %c\n", 3.14, 'A');
## Proje İçeriği 📂
Proje, ana
ft_printf
işlevinin yanı sıra yardımcı fonksiyonları ve yapılarını içerir. Bu içerik şunları içerebilir:- **Makefile**: Derleme dosyası. 🛠️
- **ft_printf.h**: Proje başlık dosyası, prototipleri ve yapı tanımlarını içerir. 📜
- **ft_printf.c**: Anaft_printf
işlevi ve yardımcı işlevlerin tanımları burada bulunur. 🔧
- **ft_utils.c**: Yardımcı işlevler, karakter yazdırma ve biçim belirteçlerini işleme gibi işlevler burada tanımlanır. 🧩---
2025 This project was created by Derya ACAR.