QUOTE
thanks for your reply on my problem so far i still can't get around to put any thing down in writing cause i don't know how to used a function to convert the number. so am think can you help me out like in break down the explanation so that i could understand. ... i really did [not] pick up on what you said in your reply.
As I said before this is a very popular topic: If you go to the main listing of C/C++ topics you will see a search box at the bottom. If you type "base conversion" in there and hit the search button you will see a list of others who have also had a problems with this program. The idea of a support forum is that other might learn from the questions you have, and you might learn from the questions others have.
This recent topic has some example codeMore examplesand there are many others going back a number of years.
There are also a number of snippets.
Euclid told king Ptolomy, "there is no royal road to geometry." And there is no royal road to programming, you have to sit down and work it out.
think about how numbers are written. think about how you might reprent that in your program. See if you can do the conversion on paper, and then think about the steps required. Then see if you can tell the computer to follow your steps.
One way to think about programming is as teaching. You need to teach the computer how to do someting, but no teacher can really teach what he/she does not understand.