All pastes #747546 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-10-24 03:37 UTC
rendered paste body
#include <stdio.h>

        int x;
        int y;
        char checkers[8][8];

int main() {

        printf("bla");
        for (x=0;x<8;x++) {
                for (y=0;y<8;y++) {
                        if ((x=1) || (x=0)) {checkers[x][y]='X';}
                        else if ((x=6) || (x=7)) {checkers[x][y] = 'O';}
                        else {checkers[x][y] = ' ';}
                }
        }
        for (x=0;x<8;x++) {
                for (y=0;y<8;y++) {
                        printf("[%s] ",checkers[x][y]);
                }
        }

}