I have a code that is perfectly innocent with a line that says:
if (in > 34.77-(2.6312)) && (in < 34.77+(2.6312)) in >> x;
But when the cint got to that line it tells me that the > operator is not defined in basic_istream
I included :
#include “Riostream.h”
#include ;
#include ;
on the top of my program.
Do i need to include some other library?
Thanks in advance.
while (1) {
if (in > 34.77-(2.6312)) && (in < 34.77+(2.6312)) in >> x;
if (!in.good()) break;
if (nlines < 57) cout<<x<<endl;
// cout<<“Points Removed”;
// if (x>34.77-2.6312) && (x<34.77+2.6312)
// x >>a;
// else cout<<x;
h1->Fill(x);
nlines++;
}