Hi,

I have just installed Visual Studio 2005 version. When I embedded my C++ program that I wrote in 2003 version into it and tried to build a solution, I got this error msg from the compiler.

error C2664:
'std::_Vector_const_iterator<_Ty,_Alloc>::_Vector_const_iterator(const
std::_Vector_const_iterator<_Ty,_Alloc> &)' : cannot convert parameter 1
from 'int' to 'const std::_Vector_const_iterator<_Ty,_Alloc> &'

This error came out in the below locations;

vector<double>::const_iterator aCommitPrimStateCiter(0);
vector<double>::const_iterator aCommitSecStateCiter(0);
vector<double>::iterator aCurrPrimStateIter(0);
vector<double>::iterator aCurrSecStateIter(0);
vector<double>::const_iterator aInitStateCiter(0)

Now apparently this definition of vectors for doubles is not accepted but I don't know what kind of conversion I should separately make or how to resolve this issue. I didn't have this problem in the previous versions...IF anyone can help, that'd be very much appreciated.

Thanks

Can