Validate Char Input (C++)

This code is useful when you want to ignore unrecognized input.

Code to convert Hex Binary, and Decimal Values (C++).