Hallo,
it seems, that CINT can't handle the following piece of code:
{
float *x;
float ***y;
int i,j,k;
int fnummer=5;
int kappanr=10;
int tnr=20;
x=new float[tnr];
for(i=0;i<tnr;i++) x[i]=i;
y=new float**[fnummer];
for(i=0;i<fnummer;i++){
y[i]=new float*[kappanr];
for(j=0;j<kappanr;j++)
{
y[i][j]=new float[tnr];
for(k=0;k<tnr;k++){
y[i][j][k]=0;
printf("%f ",y[i][j][k]);
}
}
}
printf("test finished\n");
}
The code works perfectly with gcc 2.91. I am using
CINT which came with
Root Version 2.20/06 18 December 1998.
Is there anything I can do to make that run?
Thanks,
C. Loizides
------------------------------------------------------------------
Institut fuer Theoretische Physik
Tel: +49-69-798-22552
PGP: http://www.rz.uni-frankfurt.de/~loizides/pgp/pgp.html
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:17 MET