Today, we’ll build a multipurpose converter.
Decimal – Binary – Hexadecimal
Students are asked to build this program in their first week of school so I thought a lot of my readers would enjoy this.
With this program you’ll be able to convert from all three formats to all three formats. Each conversion is in it’s own method so you can easily see how it works.
Have fun guys!
- Class Instancing
- Number Formatting
Download the final solution here.
The complete tutorial, after the break.