@Zalezog
Don't quote the whole message if you only want to comment on a few lines.
@AdRock
When posting c++ code, please use c++ code tags
[code=c++]
// Your code here
[/code]
(Don't make me tell you again)
With vectors, you don't have to make a 'first pass' to count the number of records and a 'second pass' to read the data. The vectors don't have a size limit.
If you want to confirm that your matrix is rectangular, you could verify the counts after you're done reading.
Reputation Points: 344
Solved Threads: 116
Practically a Master Poster
Offline 670 posts
since May 2008