请教afxDump.setdepth()函数的用法
看了一下MSDN,大概明白了这个函数的功能,写了一个小例子想验证一下
int A[5];
for(int i=0;i<5;i++)
{
A[i]=i;
}
#ifdef _DEBUG
afxDump<< "File could not be opened " <<"\n";
afxDump.SetDepth(0);
afxDump<<A;
afxDump.SetDepth(1);
afxDump<<A;
afxDump.Flush();
#endif
但在DEBUG里窗口里看到的全是A的地址。请问
1、不用循环是否能全部看到数组的值
2、哪位大虾能给出一个合适的例子说明setdepth(0)和setdepth(1)的不同影响/