vc监视窗口,以数组的形式监视指针

Display pointer as an array
If you expand a pointer and you only get a single item, just add ",n" to the
entry in the watch window where n is the number of elements to expand. For
example, if you have a foo * pFoo pointing to an array of ten elements, put
pFoo,10 in your watch window to see all of the element. This can be useful to
view parts of a large array. If pFoo points to an array of 5,000 elements, you
might use (pFoo + 2000),10 to see elements 2000 through 2009
=============================
监视窗口给指针加上 ,n
n为想监视的最大长度

posted @ 2011-12-07 16:28  迷花倚石忽已暝  阅读(458)  评论(0编辑  收藏  举报