Hello everybody. I have a question. Does function of <cmath> sqrt() or pow() require std:: or using namespace std? If it doesn't, I got no question :D, but if it does need it, why can I use sqrt without std?
In practice, it's rare that it will be a problem, but for full compatibility, you should add the std:: onto the functions in <cmath>. Compiler implementations are not required to put the functions in the global namespace, but most do.