My assignment asks to take a data file full of numbers:
4
12 43
23 23
53 98
-43 0
I can open and read the file, but need to make a multi dimensional array. Line one says how many rows, and after I need to put the other numbers in the proper index. I can print one character at a time, but cannot have the program recognize when there is a new line, or a space. Here is what I have so far:
//------------------------------------------------------------------
//prototypes
void file_open();
//------------------------------------------------------------------
int main ()
{