Logo Search packages:      
Sourcecode: vdr-plugin-sudoku version File versions  Download package

void Numbers::set_contents ( const Numbers sudoku,
const bool  marks[SDIM] 
) [virtual, inherited]

Set numbers from contents of sudoku if marked in marks.

Definition at line 37 of file puzzle.cpp.

References Sudoku::Numbers::get().

Referenced by set_givens().

  for (unsigned int i = 0; i < SDIM; ++i)
    if (marks[i])
      content[i] = sudoku.get(i);
      content[i] = 0;

Generated by  Doxygen 1.6.0   Back to index