[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
What DDD can not display a 2-D array correctly?
From: |
Peng Yu |
Subject: |
What DDD can not display a 2-D array correctly? |
Date: |
Wed, 29 Sep 2004 16:55:03 -0500 |
Hi All,
At the end of this email, it is a sample program, which I use to try DDD.
When the run to the line "return 0", I type "graph plot test" to plot the
data in "test" array. I got something in the attachment. It shows a band,
which is obviously wrong.
Could you help me to fix this problem?
Best wishes,
Peng
///begin of code segment
double test[100][100];
int main(int argc, char *argv[])
{
for(int i = 0; i < 100; i ++)
for(int j = 0; j < 100; j ++){
test[i][j] = 1.0;
}
return 0;
}
////end of code segment
ddd_bug.PNG
Description: PNG image
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- What DDD can not display a 2-D array correctly?,
Peng Yu <=