union { int pageCount; struct { unsigned int unused:31; unsigned int pageError:1; }; };或许这也不是个更好的方案。
int n = (count + 3) / 4; switch (count % 4) { case 0: do { dosomething0(); case 1: dosomething1(); case 2: dosomething2(); case 3: dosomething3(); } while (--n>0); }
#define for if (0); else for