Witam. Jak poprawić ten program aby działał?
#include <iostream> // imports the declaration of std::cout
using namespace std; // makes std::cout accessible as "cout"
int cout() // defines our own "cout" function in the global namespace
{
return 5;
}
int main()
{
cout << "Hello, world!"; // Compile error! Which cout do we want here? The one in the std namespace or the one we defined above?
return 0;
}