3 ms·
switch is unstructured to a large degree: switch (val) while (cond) { case 42: /* wee: if val is 42, we go straight here */ break; /* t
by kazinator 9y ago
switch is unstructured to a large degree:
switch (val)
while (cond)
{
case 42: /* wee: if val is 42, we go straight here */
break; /* this belongs to the while! */
}
I have written this kind of jig the past:
if (...) {
} else switch (val) for(;;) {
}
:)