My problem is the same as this one: Making a java base conversion program and i'd like some help? - Yahoo! Answers
But the only answer in the link above is in java whereas I'm still unfamiliar with java and I must use C....the user will input their chosen number, its current base, and the desired base output then program will of course convert it to that and output the number in its new base...
Moreover, is there a general way or principle of converting a number from a certain base number to another base number without having to convert it to decimal? Like directly converting from octal to hexadecimal or from ternary to vigesimal(base 20)?
Also, is it possible to "download" a .aspx file from a site? Like downloading BaseNumberConversion.aspx from this site:
Base Number Conversion - Convert Binary, Decimal, Hex, Octal
^This does exactly what I need to do. I hope that I could somehow take a peek into its codes.
I tried viewing the page source but the codes for that program were hidden.
By the way, I may not use any library besides stdio.h.