Skipping the iteration of the outermost loop

1
2
3
4
5
6
for(int m = 0; m < non_redundant_number; m++){
		for(int n = 0; n < KTSIZE; n++){
			if(strcmp(tokens[m], Look_Up_Table_KeyWords[n]) == 0)
				{continue;}
		}
	}


The "continue" should skip the iteration of the outermost loop. Skipping an iteration of the inner loop would make no difference. How do I implement it. Google said something Continue N statement, wherein N is the level of the loop you want to skip. Any ideas?
Couldn't you just use a break; to break out of the inner loop which would then be at the end of the final loop? If you have several nested loops then you might want to use a goto.
Topic archived. No new replies allowed.