vs2010 c++ view pointers content by debug

前端 未结 2 1560
失恋的感觉
失恋的感觉 2021-02-10 09:17

I\'m working in Vs2010 c++ with 2D arrays. I started off with a 1D pointer and used the operation [] as the following:

class CMatrix
{
    void clear();
public:
         


        
2条回答
  •  礼貌的吻别
    2021-02-10 09:32

    In the QuickWatch window, you can type the name of the pointer variable followed by a comma and the number of array indices you want to view, e.g. MyMat, 10.

提交回复
热议问题