Cheers,
Gordon.
FILE: test.C
{
TProfile *s = new TProfile ("my", "good", 16, -4, 0, 0, 20);
s->Fill (-1,10);
printf ("Just did the first fill, will now try the second");
#include "test1.C"
test1 junk1;
}
-----------
FILE: test1.C
class test1 {
public:
test1 (void);
};
test1::test1 (void)
{
TProfile *j = new TProfile ("hi", "there", 16, -4.0, 4.0, 0, 20);
j -> Fill (10, 20);
}