I am very new to C++ and I want to make a program that converts a binary number (up to seven digets) into a decimal value. Anyone know how I can do this?
hey just take a look over this link http://www.daniweb.com/code/snippet93.html ...this however change changes the binary code to gray but in middle of the code u will find the binary equivalent code also.
Cheers,
Harsh
Aside from those two snippets you can also find more info by searching the forum for the question - as this question gets asked a lot I remember from one thread you can get another 4 code solutions written by people replying to the thread!
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
This thread is currently closed and is not accepting any new replies.