ROOT Version 5.34/30
Platform, compiler CINT/ROOT C/C++
HI have a little problem with my program , it was supposed to be an easy program only 1 function I’m sitting on it for 3 days now . Anyone can help and show me where the mistakes are .
main
{
//#include "ROOT.h"
#include "/home/tomek/Desktop/ROOT.h"
#include "TMath.h"
#include <float.h>
#include <stdio.h>
#include <Rtypes.h>
//#include <iostream>
#define me (*this)
#endif
using namespace std;
int main()
mu=0, sigma=1
{
bool=x
Double_t Gaus(Double_t x, Double_t mean = 0, Double_t sigma = 1, Bool_t norm = kFALSE)
}};
**include file **
I don’t know why must include these i define all in main file anyone can explain ??
//in myclass.cpp
class MyClass
{
public:
#define namespace
#define Double_t
};
void MyClass::foo()
{
//do stuff
}
in C++ im beginner so please don’t shout for trivial mistakes
error Illegal pointer operation (tovalue) /****/root:10:
*** Interpreter error recovered ***