Guest_imported
New member
- Jan 1, 1970
- 0
Hello all!!
I have an input file which is in this form.
00121
01145
...
59166
the first two integers of each line represents the row and column of a multidimensional array. the next three are values to be assigned to a structure . i.e each cell of array has a structure in it.there can be repeating lines. i am trying to write a function which reads this file and stores these values in a multidimensional array.
can anybody help me with this? my compiler won't recognize .getline()
thanks
I have an input file which is in this form.
00121
01145
...
59166
the first two integers of each line represents the row and column of a multidimensional array. the next three are values to be assigned to a structure . i.e each cell of array has a structure in it.there can be repeating lines. i am trying to write a function which reads this file and stores these values in a multidimensional array.
can anybody help me with this? my compiler won't recognize .getline()
thanks