Hey I need some help to get a asignment done for tomorrow!
I need to create a hex to decimal converter.
EASY right!
Well here is the catch. I can't use visual studios libraries to create is so [
string sHex = S;
int iNumber = int.Parse(sHex, System.Globalization.NumberStyles.HexNumber);
string sInt = iNumber.ToString();
]
is out of the question. I need to create it from scratch.
even more It shall handle hex numbers with the value aspect from decimal 127 to -128 or 7f to -80 in hex.
PLZ give me some advices!