Skip to content

Latest commit

 

History

History
63 lines (46 loc) · 2.19 KB

README.md

File metadata and controls

63 lines (46 loc) · 2.19 KB

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

How To Install & Compile

$ git clone [email protected]:selma-belhadj/printf.git
$ cd printf
$ gcc -Wall -Werror -Wextra -pedantic -std=gnu89 *.c -o printf
$ ./printf

Authors

👤 Selma Belhadj

👤 Kanu Mike Chibundu

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

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 licensed.