>Should I email my professor and tell him he was utterly wrong?
Yes.
continue can only appear in a loop body. Your professor either has no idea what he's talking about, or is relying on a nonstandard extension.
On second thought, you may have misunderstood him. If the switch is contained in a loop and you use continue, the next iteration of the loop will be executed and the switch condition re-evaluated. That could be what he meant. For example, this prints only the odd numbers:
Code:
for (i = 0; i < 10; i++) {
switch (i % 2) {
case 0:
continue;
default:
printf("%d\n", i);
break;
}
}