Cout Is Ambiguous ? - C And C++ | Dream.In.Code
Remove the using namespace std; line and instead of cout and cin use std::cout and std::cin. As a general rule, you shouldn't be having using namespace declarations because, as you can see here, it can confuse the compiler. In time you will understand bet...