View Single Post
  #1 (permalink)  
Old March 11th, 2004, 10:16 PM
gbilios gbilios is offline
Authorized User
 
Join Date: Mar 2004
Posts: 33
Thanks: 0
Thanked 1 Time in 1 Post
Default 2's Complement binary to decimal conversion

Can someone please help me work out how I can wite in C++, a function to convert a 2's complement binary number to its equivalent decimal number, which is in the range -128 to 127??

gbilios

George N. Bilios
__________________
gbilios
Reply With Quote