julianluthor
Programmer
my code below display data i the form of:
4
2
65
3
..
what can i do to make it looks like:
Data[0][0]=4
Data[0][1]=2
Data[0][3]=65
....until Data[500][500].
Code:
// papar Cluster.dat
TStringList* papar = new TStringList;
for (int b=0; b<Ydim + Sty; b++)
for (int a=0; a<Xdim + Stx; a++)
{
papar->Add(AnsiString(Data[a][b]));
}
papar->SaveToFile("Cluster.dat");
delete papar;