Einfache bitweise ausgeben: for (i=0; i<8; i++) { if (byte & (1<<i)) put ('1'); else put ('0'); }
Foren-Regeln
Lesezeichen