> how to read multiple text files in c++?
Where are you getting the list of files from?
- the command line
- the user
- another file
To move that code to reading multiple files, the first thing to do is move the read a single file code into another function. That will help you focus on one issue at once in each function.