This is my first post, so sorry if I make any mistake. I am trying to create a program that reads text file of a matrix and outputs it in a different file with the sum of rows and columns. I have the code for reading the file but cannot figure out the sum part. Please help
A few things.
Choose a more descriptive title - maybe sth. like "Problem finding sum in a matrix"
Put your code in code-tags: http://www.cplusplus.com/forum/articles/42672/
Show us the input file you use