Last active
September 7, 2015 11:08
-
-
Save shinhirota/2fb26fe10598364acb2c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int find_something () { | |
int i, j; | |
for (i = 0; i < IMAX; i++) { | |
for (j = 0; j < JMAX; j++) { | |
int is_found = find_at(i, j); | |
if (is_found) goto EXIT_LOOP; | |
} | |
} | |
EXIT_LOOP: | |
return i*JMAX+j; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment