Sorry, I have a silly question...
Am I mistaken in thinking you're dealing with two files?
What's the second one? (Not that it matters.)
Does this file have an incredibly long line length?
Can you just use getline?
If possible, an example of the first text file might help.
|