std::cout as explained above, is the cout function in the std namespace. you need to do one of the three to have your code be ansi/iso standards compliant;

Code:
#include <iostream>
using namespace std;
//OR
#include <iostream>
using std::cout;
using std::endl;
//whatever else you intend to use
//OR
#include <iostream>
int main() {
    std::cout << std::endl;
    return 0;
}
I also recommend d/ling either mingw 3.2 or borland bcc55. these are newer compilers, both are free, and are iso standard compliant (mingw is stricter than borland).
www.mingw.org
www.borland.com