sudoku Namespace Reference
Functions | |
std::vector< std::vector< int > > | getSudokuPuzzle (std::string &filepath) |
void | printSudoku (const std::vector< std::vector< int >> &sudokupuzzle) |
Function Documentation
◆ getSudokuPuzzle()
|
inline |
reads in the sudoku puzzle from filepath
Reads the string of sudoku puzzle into a 9x9 grid represented by a vector of a vector of ints. The actual number is stored as itself and the blanks are stored as -1.
Definition at line 43 of file sudoku_utils.h.
Referenced by main().
◆ printSudoku()
|
inline |
prints the sudoku puzzle to console
Definition at line 88 of file sudoku_utils.h.
Referenced by main().