First file, file1.csv
4.00
3.00
3.00
4.00
Second file, file2.csv
10.8
12.4
21.9
17.5
I want my final file final.csv in the format
4.00
3.00
3.00
4.00
10.8
12.4
21.9
17.5
First file, file1.csv
4.00
3.00
3.00
4.00
Second file, file2.csv
10.8
12.4
21.9
17.5
I want my final file final.csv in the format
4.00
3.00
3.00
4.00
10.8
12.4
21.9
17.5
It isn't clear what exactly the part you are stuck on. Design? Vector Manipulation? CSV parsing? The files don't seem to really be CSV files. More like flat text files with one value per line?
CSV parsing, the first part, has been answered before. Here (How can I read and parse CSV files in C++?)
So, then you have data in vectors. Combine the two vectors. That's been answered before as well... here (What is the best way to concatenate two vectors?).
Then you need to write out the vector back into CSV. A simple for loop and printouts should cover that. However, if you have trouble, its also been answered here (C++ Vector to CSV by adding Comma after each element).
Good Luck.