What is an elegant way of executing something similar to this without entering an infinite loop, if i
must be an unsigned char
?
for (unsigned char i = 0; i < 256; ++i) {
printf("%d
", i);
}
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…