Public feed #894421

tripo

public cpp v1 · immutable
Raw Edit
·published 2008-02-06 22:56 UTC
rendered paste body
void Worms::verifChiffre(int i, int j){	bool trouve, ok;	int val, k;	trouve = false;	val = mat1[i][j].toPlainText().toInt(&ok, 10);	k=0;	while (k<=9 && !erreur)	{		if (!mat1[i][j].toPlainText().isEmpty())			trouve == (mat1[i][k].toPlainText().toInt(&ok, 10) == val);				k++;	}	if (trouve == true)		colorerCase(i,j,Qt::RED);}