ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

viewing contents of arrays/matrices.


From: Dima Sorkin
Subject: viewing contents of arrays/matrices.
Date: Tue, 23 Aug 2005 09:09:05 +0200

Hi.
 I often need to see the contents of std::vector<T>,
boost::ublas::matrix<T> e.t.c. classes.
 These classes have a pointer into a beginning
of continuous-memory location of objects of type T.
How do I display in ddd a sequence of "T", starting from some
address "ptr" , "N" items.

I only suceed to see them one by one, by displaying *(ptr+i),
where "i" is entered separately for each item.

 Thank you.
  Dima.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]