Created
July 19, 2014 16:24
-
-
Save klaxa/4d84b9b0f952b46c1525 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
[klaxa@localhost Development]$ cat cassy_tiles.c | |
#include <stdio.h> | |
int main() { | |
for(int x = 0; x < 800; x+=256) { for (int y = 0; y < 480; y+=256) { printf("%dx%d\n", x, y); } } | |
} | |
[klaxa@localhost Development]$ gcc cassy_tiles.c -std=c99 -o cassy_tiles | |
[klaxa@localhost Development]$ ./cassy_tiles | |
0x0 | |
0x256 | |
256x0 | |
256x256 | |
512x0 | |
512x256 | |
768x0 | |
768x256 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment