All pastes #930825 Raw Edit

bwabwunhibihibi

public c v1 · immutable
·published 2008-03-06 21:03 UTC
rendered paste body
/* tic-tac-toe project */#include <stdio.h>void playerturn();void computerturn();void move();void print_table(char **);int main() {   	char table[3][3];	int x, y, z;	for(x=0, z=7; x<3; x++){		for(y=0; y<3; y++, z++){			table[x][y] = z;					}	z-=6;	}	print_table(&table);	return 0;}void playerturn() {}void computerturn() {}void move() {}void print_table(char **table) {	int x,y;	for(x=0; x<3; x++){		for(y=0; y<3; y++){			printf("%d ", table[x][y]);		}		printf("\n");	}}