Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Getting CMap's contents

0 views
Skip to first unread message

Pashka

unread,
Jun 11, 1999, 3:00:00 AM6/11/99
to
Hi all!

Is there an easy way to get the contents of CMap in debug-time to some file
or watch window, or something like that?

TIA, Pashka

tony_...@my-deja.com

unread,
Jun 11, 1999, 3:00:00 AM6/11/99
to
This would send the values in your map to the debug window.

POSITION pos = yourMap.GetStartPosition();
while (pos != NULL) {
yourMap.GetNextAssoc( pos, key, value);
TRACE("This is your map value: %s\n", value);
}

Regards,
Tony

In article <ek5CkB$s#GA.133@cppssbbsa03>,


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

0 new messages