I have two files names.txt and addresses.txt, both of them have the same number of lines.
I want to read these two files at the same time, and for each line print a name followed by an address. But I read that I can't have two ifstreams at the same time.
I'm not looking for alternative ways of doing this, I'd like to do it this way
ifstreamobjects at the same time was wrong.