Help with input files

Okay I don't have any code, but I need help understanding a concept before I start writing it.

The program needs to use 2 different input files and I am stuck on this and I don"t know why. I understand how to open and run 1 file, can I open and run 2 at the same time and use the data from them? Is there anything special to do?

The program is the basic exam grader one, except I have one file for the key, and another for the answers. I don't want someone to write the code for me, I just need help understand what I am supposed to do.

Thanks.
Yes, you can have two files open at once:
1
2
3
std::ifstream input1 {"a.txt"};
std::ifstream input2 {"b.txt"};
//... 
Topic archived. No new replies allowed.