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