Archived

This topic is now archived and is closed to further replies.

davidkosenina

Haw to debug STL vectors in VC++6.0?

Recommended Posts

davidkosenina    122
Helo Haw can I watch STL vector in VC++6.0? example:
  
class CParticle
{
    vector<Data> Name;
}

CPartilce* PartSys;

...etc
// Watch PartSys->Name[0] Does not work -> Error -> 

// 

[source]

  

Share this post


Link to post
Share on other sites
Sneftel    1788
just poke around in the vector''s member variables; you''ll find a pointer to the internal array it uses.

Oh, and by the way... it''s "How", not "Haw".


How appropriate. You fight like a cow.

Share this post


Link to post
Share on other sites