Estou fazendo um joguinho em C(projeto faculdade) e estou encontrando um erro no main, segue:
int main () {
int x, y, i, j, linha, cnt=1, jl=0, jc=0, jogada_a=0, jogada_b=0;
char coluna, jogador;
srand(time(NULL));
x = (rand() % 5) +2;
y = (rand() % 5) +2;
gerar();
matriz[x][y] = '0';
}
O erro pede declaração de time:
error: 'time' was not declared in this scope