https://github.com/root-project/root
Raw File
Tip revision: 9d1aed171272a4ee709a8c585eee40fbfefbd355 authored by Fons Rademakers on 24 October 2011, 09:50:38 UTC
tag patch release v5-30-03.
Tip revision: 9d1aed1
temp.cxx
/* -*- C++ -*- */
/*************************************************************************
 * Copyright(c) 1995~2005  Masaharu Goto (cint@pcroot.cern.ch)
 *
 * For the licensing terms see the file COPYING
 *
 ************************************************************************/

#define INTERP
#ifdef INTERP
//#include "VObject.cxx"
//#include "VPerson.cxx"
//#include "VCompany.cxx"
//#include "VArray.cxx"
//#include "VString.cxx"
#else
#include "VPerson.dll"
#endif

#define NUM 0

void test0() {
  VArray a;
  VPerson* p;
  VCompany* p1;
  Int_t i;

#if 0
  p=new VPerson("name0",i);
  a.Add(p,-1);
  p1=new VCompany("company1",i);
  a.Add(p1,-1);

  for(i=0;i<NUM;i++) {
    a[i].disp();
  }  

  for(i=0;i<NUM;i++) {
    delete a.Delete(-1,0);
  }  
#endif
}

int main() {
  //test0();
  return 0;
}


back to top