Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   converting decimals(integers) to 32 bit binary digits (http://www.go4expert.com/forums/converting-decimals-integers-32-bit-t1744/)

hapa_at_1 28Oct2006 07:35

converting decimals(integers) to 32 bit binary digits
 
can any one help me i need a C++ code that converts integers enterered by user and it converts it into 32 bit binary numbers

Aztec 28Oct2006 09:30

Re: converting decimals(integers) to 32 bit binary digits
 
Here is a simple algorithm for converting decimal numbers to binary using repeated division by 2
http://trunix.org/programlama/cpp/fr...al2binary.html

hapa_at_1 28Oct2006 23:44

Re: converting decimals(integers) to 32 bit binary digits
 
thank you

shabbir 29Oct2006 10:15

Re: converting decimals(integers) to 32 bit binary digits
 
You can also refer to Decimal, Hex, octal and binary number inter conversion article.


All times are GMT +5.5. The time now is 10:42.