Hi,
when I try to define
char tit[100];
TH1F* W[6];
in a macro and then
for(int i=0;i<6;++i)
{
sprintf(tit,"W%d",i);
TH1F* W[i] = new TH1F(tit,tit,100,0.5,2.2);
}
cint complains saying this is allowed only in interactive mode.
Any idea?
Thanks,
Maurizio
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:30 MET