A program that converts characters and strings to ASCII, hexadecimal, uppercase and decimal.
- ASCII conversion
- Hexadecimal conversion
- Lower to upper case conversion
- Decimal conversion
- File conversion
- C++
- iostream library
- fstream library
- cstring library
- ctime library
- Windows.h library (for console text manipulation)
$ g++ main.cpp -o output
$ ./output
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.
- Input strings with spaces will cause an error in
asciiConversion()
- Only single character inputs are accepted in
hexaConversion()
anddecimalConversion()
.
Feel free to contribute by forking the repository and making pull requests.