How to view contents of a vector array in debug window

Questions about wxWidgets running on MS.NET, mono or Portable.NET ? Ask it here !
Experienced Solver
Experienced Solver
Posts: 96
Joined: Fri Jun 17, 2005 1:53 pm
Location: Germany

How to view contents of a vector array in debug window

Postby MuhammadSohail » Tue Apr 04, 2006 8:34 am

Hallo all,

Does any one knows, how can i view the contents of the specific index of the vector array in the debug window. I m using Microsoft visual studio 2005.

Last edited by MuhammadSohail on Sun Apr 09, 2006 11:45 am, edited 1 time in total.

Super wx Problem Solver
Super wx Problem Solver
Posts: 317
Joined: Sat Mar 18, 2006 10:41 am
Location: Ustek, Bohemia

Postby micros » Tue Apr 04, 2006 10:22 am

If you mean in MSVC (prior to 2005, which is already smart enough; but this will work in that, too), it's

Code: Select all


If you need to know the number of elements, it's

Code: Select all

p_vec->_Mylast - p_vec->_Myfirst

EDIT: Oops, I think I've answered a different question.

Return to “wx.NET”

Who is online

Users browsing this forum: No registered users and 1 guest