Hello, There are 2 limitations regarding following code. 1) class can not be defined within a function. 2) interpreted class can not inherit from compiled class For 2), I might find a solution for enabling this except for correct resolution of virtual function. For the time being, pleave avoid using these. Masaharu Goto > > What is wrong in the next file? > > file test.c > -------------------------------------------------------------------------- > void test(void) > { > TFile file1("file.root","RECREATE","This is title!",9); > > class GENERATOR : public TObject > { > } g; > } > -------------------------------------------------------------------------- > > root [0] .x test.c > > *** Break *** segmentation violation > > > Thanks, > Alexander Zvyagin. >
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:22 MET