Convert Hexadecimal to Decimal - NEWBIE QUESTION, PRO POINTS (500) AVAILABLE
I need a program that converts a hexadecimal (base-16) number into a decimal (base-10) number. The program must take as its input a pointer to a character string which has the hexadecimal number in ascii. It must return a pointer to a character string which has the decimal number in ascii. You cannot use any standard C libraries (e.g. scanf()).
char* Convert(const char *pHexString)
//do some conversion stuff
Please note that I will award 500 points to the _first_ person to answer this question to the spec. The code must be a 'clean' and efficient solution in ANSI C please.