Closed omarcostahamido closed 3 years ago
I'm including a header.h that is using namespace std. whenever I do something like cout<<(...)<<endl; it always complains that Reference to 'endl' is ambiguous. Anyone experiencing this?
Reference to 'endl' is ambiguous
users are not recommended to define a top level using namespace std;
using namespace std;
wait, but what if I have to use it for my header file (not the main cpp file for the object)?
I'm including a header.h that is using namespace std. whenever I do something like cout<<(...)<<endl; it always complains that
Reference to 'endl' is ambiguous
. Anyone experiencing this?