archive_bin/cpp_int_datatypes.cpp
void bin(unsigned num){
    if(num > 1){
        bin(num / 2);
    }
    cout<< num % 2;
}
//Convert a number to binary
//Method#1
Convert a number to binary
Method#1
Convert a number to binary Method#1
void bin(unsigned num){
    if(num > 1){
        bin(num / 2);
    }
    cout<< num % 2;
}
void bin ( unsigned num ) { if ( num > 1 ) { bin ( num / 2 ) ; } cout << num % 2 ; }
Convert a number to binary
Method#1
Convert a number to binary Method#1