Gim*_*Eom 2 c++ debugging visual-studio-2010
例如,我想看pA
int *pA = new int[LEN];
Run Code Online (Sandbox Code Playgroud)
然后在visual studio中,我只能在观察窗口看到pA [0]
我尝试查看'(int(*)[LEN])pA',但它不起作用
我不想做
int (*test)[LEN] = (int (*)[LEN])pA
Run Code Online (Sandbox Code Playgroud)
调试
如何在VS2010的调试器中将动态分配的指针看作静态数组?
归档时间: |
|
查看次数: |
1224 次 |
最近记录: |