Hi, I have tried to use the following initialization of string { const int MaxHistos = 24; char HisXTit[MaxHistos][5] = {"xCal", "yCal", "yCal", "xHES", "yHES", "yHES", "xCal", "yCal", "yCal", "rCal", "rCal", "rCal", "rHES", "rHES", "rHES", "rCal", "rCal", "rCal", "zCal", "xCal", "xCal", "yCal", "yCal", "zCal"}; int i; for(i=0;i<MaxHistos;i++){ printf("%s\n",HisXTit[i]); } } which in C compiles and works, but not in ROOT. Does anyone know if it is possible to do the same thing in ROOT? Thanks, Amaya Lopez-Duran Viani
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:32 MET