Create 2 .txt files, with 10 numbers each, and make a program that reads those values and creates a vector for each file. Adds the corresponding values together and make a third vector with the answer, writing a new .txt file displaying this third vector.
I did this exercise in class, but have since lost the code. Any help on this? Is it just attributing a vector to fopen?
Edited by Corum, 28 February 2011 - 01:46 PM.


Sign In
Create Account

Back to top









