src/puzzle.cpp
// part of PUZZLE class methos processing locked candidates in a box, row,col
part of PUZZLE class methos processing locked candidates in a box, row,col
part of PUZZLE class methos processing locked candidates in a box row col
void messlock(const OPSUDO &options, int obj, int obj2, int ch) {
	if(!options.ot)
		return;
	int it1 = obj2 / 9, it2 = obj / 9, ii1 = obj2 % 9, ii2 = obj % 9;
	char c1, c2;
	c1 = (it1 - 1) ? (char)(ii1 + '1') : lc[ii1];
	c2 = (it2 - 1) ? (char)(ii2 + '1') : lc[ii2];
	EE.E("-> ");
	EE.E(orig[it1]);
	EE.E(ii1 + 1);
	EE.E("  digit ");	
	EE.E(ch + 1);
	EE.E(" in ");
	EE.E(orig[it2]);
	EE.Enl(ii2 + 1);
}
void messlock ( const OPSUDO & options , int obj , int obj2 , int ch ) { if ( ! options . ot ) return ; int it1 = obj2 / 9 , it2 = obj / 9 , ii1 = obj2 % 9 , ii2 = obj % 9 ; char c1 , c2 ; c1 = ( it1 - 1 ) ? ( char ) ( ii1 + ' ' ) : lc [ ii1 ] ; c2 = ( it2 - 1 ) ? ( char ) ( ii2 + ' ' ) : lc [ ii2 ] ; EE . E ( " " ) ; EE . E ( orig [ it1 ] ) ; EE . E ( ii1 + 1 ) ; EE . E ( " " ) ; EE . E ( ch + 1 ) ; EE . E ( " " ) ; EE . E ( orig [ it2 ] ) ; EE . Enl ( ii2 + 1 ) ; }
part of PUZZLE class methos processing locked candidates in a box, row,col
part of PUZZLE class methos processing locked candidates in a box row col