Introduction - If you have any usage issues, please Google them yourself
Input a file of any M-ary number is converted to decimal, as a character a file input number x, algorithm each digit and M a power of x is multiplied by the final sum. To convert decimal to hexadecimal have any of the other two methods by using the array (shi_array) and stack (initstack). When converting M-ary binary number to any other, we need to first M x hexadecimal number is converted to a decimal number, and then use shi_array and stack function to achieve decimal radix conversion. Pay special attention to the number of M-ary digital x contains no more than M and character figures include 1 to 9 and A ~ F. The results are then saved in a file.