Hi,
I get the error when I try to compile the code:
char hadcname[40];
char htdcname[40];
TH1I *hadc = new TH1I[16];
TH1I *htdc = new TH1I[16];
for(int iloop=0; iloop<16; iloop++){
sprintf(hadcname,"adc_channel_%d",iloop);
sprintf(htdcname,"tdc_channel_%d",iloop);
hadc[iloop] = new TH1I(hadcname,"",4096,0,4095);
htdc[iloop] = new TH1I(htdcname,"",4096,0,4095);
}
line 94 is the begining of the for loop.
Could anybody point me the error?
Regards,
supriya