I've been using visual studio 6 for a couple of years now, and every programer that I have asked this has said, "geez I dunno how to do that." Basically, my problem is that I can't figure out how to get the debugger to show me the contents of c++ variables. For example, this little code snippet:
if( count(key) == 0 )
(*this)[key] = v;
else
(*this)[key] += v;
v is a double, so I can see it's value just fine. But if I want to see what is in (*this)[key] before I add v to it, and I put it in my watch list, I get
(*this)[key] CXX0058: Error: overloaded operator not found
So I find myself doing crap like this:
if( count(key) == 0 )
{
(*this)[key] = v;
}
else
{
double CanISeeYouPlease = (*this)[key];
(*this)[key] += v;
}
(Which, in fact, was done by a previous programmer before I was hired.) Ok, so the reason that I use a debugger is so that I don't have to modify code and wait 5 minutes for a rebuild every time I want to view the contents of a variable. Is visual studio 6 just totally retarded when it comes to displaying c++ variables of types which are not plain-c variable types? Or is there some arcane way to get it to show you the value?
Thanks for any help!
cathy :-)