HI,
  Im using c++ .NET 2003  environment. During debugging, it doesnt give me the values, for example:
 
typedef struct{
 int one[10];
 int dummy;
}Test
 
Test arr[10];
 
for(int loop=1;loop<11;loop++)
  arr.one[loop]=loop;
 
afunction(Test *ptr)
{
  TRACE("%d\n",ptr->one[0]); //will display  1
 
 
If I do a 'Add to Watch' on the ptr within the function, it only displays the first value of one, ie one[0], but rest are set to 0 within the array.
 
Does anyone else experiance this problem? If so how can I overcome this, if possible.
 
Regards
Neil
 
 
 
_______________________________________________
msvc mailing list
[email protected]
See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for 
subscription changes, and list archive.

Reply via email to