Skip to content

Latest commit

 

History

History
59 lines (45 loc) · 3.22 KB

README.md

File metadata and controls

59 lines (45 loc) · 3.22 KB

ASCII Converter and Hexadecimal Converter

A program that converts characters and strings to ASCII, hexadecimal, uppercase and decimal.

Features

  • ASCII conversion
  • Hexadecimal conversion
  • Lower to upper case conversion
  • Decimal conversion
  • File conversion

Requirements

Usage

$ g++ main.cpp -o output
$ ./output

Functions

  • asciiConversion(): Converts string input to ASCII characters.
  • hexaConversion(): Converts a character input to hexadecimal.
  • letterConversion(): Converts lowercase string input to uppercase.
  • decimalConversion(): Converts a hexadecimal or decimal input to decimal.
  • fileConversion(): Converts a binary file to ASCII characters.

Note

  • Input strings with spaces will cause an error in asciiConversion()
  • Only single character inputs are accepted in hexaConversion() and decimalConversion().

Contributing

Feel free to contribute by forking the repository and making pull requests.

More About Me:

Get it on Google Play