Hey all,
I have a clearer idea of what I need to do. I need to basically read an input file that has matrix elements in it.
Code:
Ex:
2 3
9 7 5
8 4 10
1 6
2 - int numrows;
3 - int numcols;
{(9,7,5),(8,4,10)} - matrix elements
1 - int start;
6 - int goal;
I need to read the matrix elements and place them in a 2-D array.
I am guessing we need to use the numrows and numcols but we can ignore the start and goal variables for now. Would someone please help me along with this? Any feedback is appreciated as always. Thank you.