RE: [ROOT] question

From: Philippe Canal (pcanal@fnal.gov)
Date: Mon Apr 05 2004 - 22:40:31 MEST


Hi,

I am unable to reproduce the problem.  Which node are you running this on?
(Do you really mean to use the Linux+2.2 version of ROOT?).

Cheers,
Philippe.



-----Original Message-----
From: owner-roottalk@pcroot.cern.ch
[mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Dmitri Litvintsev
Sent: Sunday, April 04, 2004 1:44 AM
To: roottalk@pcroot.cern.ch
Subject: [ROOT] question



Dear ROOTers,


'the program' test.C :

#include <string.h>
using namespace std;

int test(int argc, char* argv[]) {

 	int n_rs[1430][280];
 	int n_ws[1430][280];

	memset(&n_rs[0][0],0,1430*280*sizeof(int));
	memset(&n_ws[0][0],0,1430*280*sizeof(int));
	return 0;
}

gives this using root:


$ root -l
root [0] char* txt[] = {"hello", "world"}
root [1] .X test.C++(2,txt)
Info in <TUnixSystem::ACLiC>: creating shared library
/cdf/disk01/g2/dmitri/exotic10/./test_C.so
$

that is ROOT quits. What am I doing wrong? (other than writing crazy
arrays that is)

this is ROOT version we have:

/cdf/atom/code/cdfsoft/products/root/v3_03_07cKCC_4_0/Linux+2.2/bin/root


thanks,
Dmitri Litvintsev

/----------------------------------------------------------\
| Tel:       (630) 840 5005                                |
| FAX:       (630) 840 2968                                |
| office:    149-L CDF Trailers                            |
| E-mail:    litvinse@fnal.gov                             |
\----------------------------------------------------------/




#################################################################
#################################################################
#################################################################
#####
#####
#####
#################################################################
#################################################################
#################################################################



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:07 MET