char number = something; char bits[8]; for (int i = 0; i < 8; i++) { bit[i] = (number >> i) & 1; }. This shifts the number right by i ...
確定! 回上一頁