for(int n = 0; n<blocksx;n++){
for(int x = 0; x<blocksy;x++){

I just want to be able to shorten this into something easy so I could just type in like one word to get it to work, it is used a lot and sucks to retype... thx

you could put it in a function so that it can be called as many times as you like.

simple, like this

int go() {for(int n = 0; n<blocksx;n++){
for(int x = 0; x<blocksy;x++){
return 0;
}

now evrey time you use go();
it will call and run

thx, but I need to be able to put data into those for statements and theres no call for them in the function, wouldn't I need to use a typedef or something like that?

We have no clue what you intend to put in those for statements, therefore no one can really answer your question. You could create a template, a function, or even a macro, all depends on what you want to do with it.