News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

how to watch matrix members inside class

Started by darkwalk, April 01, 2006, 12:49:40 AM

Previous topic - Next topic

darkwalk

Hi:  I have a problem watching a matrix inside a class object.  For example:

class asdf{
  protected:
      int** a;
  public:
      asdf();
}

asdf:asdf(){
   //instantiate new 2D matrix
}

main(){
   asdf my_asdf;
}

When I watch my_asdf during debugging, all it gives me is this:

[-] my_asdf
          a = 0xXXXXXX

I would like to see the actual matrix pointed to by a, not the memory location.  Is there a way to do so?  I searched for a while, but cannot find anything...  Thanks for your help!