21 Apr
2005
21 Apr
'05
8:11 a.m.
Hi, I am trying to use sparse matrix iterators, but it seems that a code that works in VC++ 6.0 does not compile under C++ in .NET I tried a simplified version of the code and it still does not work. boost::numeric::ublas::sparse_matrix<int> matrix; boost::numeric::ublas::sparse_matrix<int>::iterator1 it1 = matrix.begin1(); boost::numeric::ublas::sparse_matrix<int>::iterator2 it2 = it1.begin(); The error message that I get is : error C2039: 'begin' : is not a member of 'boost::numeric::ublas::sparse_matrix<T>::iterator1' with [ T=int ] off course begin() is one of the iterator1 member functions. Does anyone have an idea of what is missing in the project settings? Regards, Golan. --