---------------hello.C------------
#include // for I/O
#include // for file I/O
using namespace std;
void hello()
{
ifstream file("/dev/null");
//skip next line of file
file.ignore(numeric_limits::max(),’\n’);
cout << “hello world” << endl;
}
---------------hello.C------------
result of root -b -q hello.C
Error: Symbol numeric_limits is not defined in current scope FILE:hello.C LINE:10
Error: Symbol int is not defined in current scope FILE:hello.C LINE:10
however, root -b -q hello.C+ is ok.
I am sorry if this question should be posted in CINT.