I'm not sure why I keep getting this error.
expected primary-expression before '<<' token
I have boolean variable declared and set to false.


cout<<"The number " <<searchValue,<<" was found in the file.";
cout<<"The number " <<searchValue,<<" was not found in the file.";
Because of commas after value
Lol.. Im an idiot. This is my 1st C++ class.. VERY MUCH appreciated!!
Topic archived. No new replies allowed.