printf("%s\n", str);
}
-void sudoku::clone_to(sudoku &to)
-{
- sudoku clone;
- int x, y;
-
- for (x = 0; x < 9; x++)
- for (y = 0; y < 9; y++)
- to.table[x][y] = table[x][y];
-}
-
std::string sudoku::get_row_contents(int row)
{
std::string s;
std::string get_col_contents(const int col);
std::string get_block_contents(const int col, const int row);
int fill_missing(void);
- void clone_to(sudoku &to);
int get_best_guess(int &col, int &row);
sudoku fill_with_random(int &solvable);
sudoku remove_randomly(int min_guesses, int depth);