I'm working on a project for school and need to read a parsed string into a 2d array. I'm using the string lib substr function to parse the stream to two different variables and need to load into the array. I've tried two nested for loops to increment throught the rows and cols but can't figure out how to get the two varaibles into the array.
array[row][] = var1;
array[][col] = var2;
this assignment type is not working. I would normally have an array of structs or pointers but can not do this with thia assignment. Can any one HELP! thanks
array[row][] = var1;
array[][col] = var2;
this assignment type is not working. I would normally have an array of structs or pointers but can not do this with thia assignment. Can any one HELP! thanks