Hi, I am new to C++ and trying to find a way to merge three text files together to create an output text with them merged. I have been doing it through excel and just tired of having to combine them like that and looking to make it so i can just use an exe with the sites i load into 2.txt but my problem is that if i load a list into 2.txt with say 10 lines i wont get the other 2 files added to each line of the other 9 lines. I need the one line from 1.txt and 3.txt to apply to every line in 2.txt whether i have 5 lines or 600 lines in 2.txt. any help to get this to happen would great! here is the code im using. and an example of what i need it to do