can someone tell me why VC++ .net won't compile this, but Dev C++ 4 does ?

here is the error from .NETCode:#include <iostream> class clearscreen { public:void clear() { using namespace std; cout<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl; cout<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl; cout<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl; cout<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl; cout<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl; cout<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl; cout<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl; cout<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl; cout<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl; cout<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl; } };

c:\cpp\Game\RPG Game\Clearscreen.cpp(21): error C2872: 'cout' : ambiguous symbol

it comes up 10 times, for each 'cout'