Author Topic: how to watch matrix members inside class  (Read 4319 times)

darkwalk

  • Guest
how to watch matrix members inside class
« on: April 01, 2006, 12:49:40 am »
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!