|
Algorithms_in_C++ 1.0.0
Set of algorithms implemented in C++.
|
Function to convert decimal number to binary representation. More...
#include <iostream>Functions | |
| void | method1 (int number) |
| void | method2 (int number) |
| int | main () |
Function to convert decimal number to binary representation.
| int main | ( | void | ) |
| void method1 | ( | int | number | ) |
This method converts the bit representation and stores it as a decimal number.
| void method2 | ( | int | number | ) |
This method stores each bit value from LSB to MSB and then prints them back from MSB to LSB