First I open the file then scan through it to find out how big 2 arrays need to be then I set the position back to the begining with std::ifstream:: seekg( std::iostream:: beg ); but it doesn't seem to set the position if the last line's a new line?
Why is this and how can I make it set the position to the beginning even if the last line's a new line?
Here's my code:
Why is this and how can I make it set the position to the beginning even if the last line's a new line?
Here's my code:
Code:
150+ LOC removed - please post relevant code only
Comment