ddd
[Top][All Lists]
Advanced

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

Coercing 2D display of 1D data


From: Paul Carlisle
Subject: Coercing 2D display of 1D data
Date: Fri, 13 Oct 2000 18:50:58 -0400

I've just started using DDD, and I'm wondering: is there a way to get
the Display and Plot commands to treat a 1D, dynamically allocated array
as a 2D array? That is, if I've declared an (implicit) 10 by 10 integer
array by doing:

   int* myArray = new int[100];

how do I get DDD to do a 2 dimensional plot of it's contents?

Thanks,

Paul Carlisle





reply via email to

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