trascrivi l'errore..
ps: questo è sbagliato
questo menocodice:void dec2bin(unsigned short input, char bitstring[16]) { int i; for(i=0; i<16; i++, input>>=1) bitstring[i] = '0' | input & 1); }
codice:void dec2bin(unsigned short input, char bitstring[]) { int i; for(i=0; i<16; i++, input>=1) bitstring[i] = '0' | input & 1); }

Rispondi quotando