TNT Array2d

Hi All,

im quite new to tnt libraries,im little doubtfull about Array2D


my question is whether i need to clear an Array2D variable before using the same variable for another operation.
example

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
void main()
{
Array2D<double> arr2d,xc,yc,zc;

arr2d=function1(xc);
display(arr2d);
            //here whether i need to cleanup arr2d?    
arr2d=function2(yc);
display(arr2d);
            //here whether i need to cleanup arr2d?    
arr2d=function3(zc);
display(arr2d);

}


now whether i need to perform any cleanup operation for arr2d variable, before it is assigned for someother value.


waiting for your inputs.........


Last edited on
Topic archived. No new replies allowed.