I've just started to study C++ and I have a question about scope resolution.
In the following code fragment, why do I have to use "ios_base" in the setf(). Is "showpos" not included in the "std" namespace?
Code:#include <iostream> using namespace std; int main(void) { cout.setf(ios_base::showpos); cout << 27 << endl; return 0; }