https://github.com/selma-belhadj/printf
Custom Printf C function implementation
https://github.com/selma-belhadj/printf
betty c
Last synced: over 1 year ago
JSON representation
Custom Printf C function implementation
- Host: GitHub
- URL: https://github.com/selma-belhadj/printf
- Owner: selma-belhadj
- Created: 2022-10-18T13:23:24.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-21T20:09:29.000Z (over 3 years ago)
- Last Synced: 2025-02-02T07:25:04.044Z (over 1 year ago)
- Topics: betty, c
- Language: C
- Homepage:
- Size: 13.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# printf (Foundations - Low level programming & Algorithm)
> In this project, we recreated a mini-verison of the ```printf``` function found in
> the ```stdio.h``` library in the C programming language. This function allows
> us to print any argument given to the standard output or terminal and similar
> printing functions can be found in any programming language. This means we can
> print any combinations of strings, intergers, and other different data types.
### Synopsis
> This repository holds all the code necessary for our custom ```_printf```
> function to run. Our mini-version currently handles conversion specifiers:
> ```c```, ```s```, ```%```, ```d```, ```i```, ```b```, ```o```, ```x```, ```X``` and does not yet
> support field width, precision, flag characters, or length modifiers. Unique to our _printf is our ```r```
> reverse conversion and the ```R``` rot13 conversion. In essence, you can
> print any character, string, integer, or decimal number, reverse your strings,
> transform any number to binary and octal bases, and encrypt your string with rot13 encryption.
### Environment
* Language: C
* OS: Ubuntu 14.04 LTS
* Compiler: gcc 4.8.4
* Style guidelines: [Betty style](https://github.com/holbertonschool/Betty/wiki)
### How To Install & Compile
```
$ git clone git@github.com:selma-belhadj/printf.git
$ cd printf
$ gcc -Wall -Werror -Wextra -pedantic -std=gnu89 *.c -o printf
$ ./printf
```
## Authors
👤 **Selma Belhadj**
- GitHub: [@selma-belhadj](https://github.com/selma-belhadj)
- Twitter: [@Bel_Selma16](https://twitter.com/Bel_Selma16)
- LinkedIn: [@selma-belhadj](https://www.linkedin.com/in/selma-belhadj/)
👤 **Kanu Mike Chibundu**
- GitHub: [@Ginohmk](https://github.com/Ginohmk)
- Twitter: [@michotall95](https://www.twitter.com/michotall95)
- LinkedIn: [@kanumike](https://www.linkedin.com/in/kanu-mike-497119211/)
## 🤝 Contributing
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](https://github.com/selma-belhadj/printf/issues).
## Show your support
Give a ⭐️ if you like this project!
## Acknowledgments
- Hat tip to anyone whose code was used
- Inspiration
- etc
## 📝 License
This project is [MIT](./MIT.md) licensed.