9 Mar
2006
9 Mar
'06
4:08 p.m.
On Mar 9, 2006, at 8:08 AM, Camille Lemen wrote:
param.clear();
Your problem is here. You should not be calling "clear()" on param, because that will make it have zero elements. The next line of code, that tries to write to the 0th element of param, is actually incorrect. Remove the param.clear(); line and things should work as expected.
param[0] = 2; std::cerr<<"param[0] = "<
Doug