hey guys, just started on C++. Having trouble... I would appreciate if someone could help me with this.
Program should open two text files for input and one for output (files exist). The program concatenates the corresponding lines of the input lines, using a space as a separator, and writing the results to the output file. If one file is shorter than the other, the remaining lines in the longer file are also copied to the output file.
if i run my code without including the 3 files, instead of the error messages i get "Debug Assertion Failed!"
if i run it in a format: <c:\concat file_in_1 file_in_2 file_out>, then all the lines from file_in_1 are missing the first character.
i'm attaching the concat.cpp file.