thanks!
(vector_name)._First,N works well with vectors!
do you know how can make the same thing with a dinamic classic array?
(i have a function which takes as parameter "array[]" and I would like to
know every array element...)
"Stefan Näwe" <na*****@atlas.de> ha scritto nel messaggio
news:4g***********@news01.atlas.de...
mlimber wrote: gp wrote:
Hi all,
I'm using Microsoft Visual C++ 6.0,
I would like to see, debugging my project, all the elements of my dinamic
objects....
I have a dinamic array and a STL vector and I need to know the fields
values
at a specific position, but in the Watch windows I can only see the first
element...
I tried putting in the watch window
vector_name
vector_name[k]
vector_name[5]
vector_name.at(k)
vector_name.at(5)
vector_name[5].field_name
...
etc....
but there's no way...
could anyone help me?
thanks...
You'll have to dig into the implementation of their std::vector, but I
think it should be something like this:
*(vector_name._First+k)
OT, but try:
(vector_name)._First,N
where N is the number of elements you think exist in 'vector_name'
(and yes, it is a comma)
/S.