hi, im creating a game that solves an 8 puzzle
i need to take in 9 numbers, 0-9 and i need it to be a 3X3 matrix because the "board" uses a 2-d array. how do i cin those numbers??
int main () {
int maxNum;
cout << "Welcome to the Eight-Puzzle Solver." << "\n"
<< "What is the upper limit on the number of"
<< " nodes I should search?" << endl;
cin >> maxNum;
cout << "\n" << "\n"
<< "Please input 9 digits (0--8) to" << "\n"
<< "specify the initial board position:";
cin >> ????
}