Here's an excerpt from my code:


void SparseMatrix2D::read(std::string filename) {
std::ifstream inp, in;
in.open(filename.c_str(), std::ios::in);
if(in.is_open()) {
std::vector<double>...