Hi, I need to know how to convert BCD to hex and Hex to BCD. Thanks in advance...
Hi, I need to know how to convert BCD to hex and Hex to BCD. Thanks in advance...
Your best bet is:
If BCD -> Hex : Convert BCD to Decimal, then that to Hex
If Hex -> BCD : Convert Hex to Decimal, then that to BCD
Devoted my life to programming...
Can't you just do the conversions directly by the use of lookup tables?
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
Thanks GReaper I have finished the program....