#include "Sudoku.h" using namespace std; Sudoku::Sudoku( int n ) { vector temp; for( unsigned int i=0; i= 0) && (row < n*n) && (col >= 0) && (col < n*n) ) { return true; } else { return false; } } bool Sudoku::get_number( int row, int col, int & number ) const { if( (game[row][col] != 0) && (row >= 0) && (row < n*n) && (col >= 0) && (col < n*n) ) { return true; } else { return false; } } //make 3 functions. one to check if in row, one for column, and one for if a number is in the box bool Sudoku::valid_assignment( int row, int col, int number ) const { return false; } void Sudoku::possible_numbers( int row, int col, vector & numbers ) const { if( (row < 0) && (row >= n*n) && (col < 0) && (col >= n*n) ) { for( unsigned int i=0; i