header file problem

When I compiled this code, it's giving that cout and system pause are undeclared.What's wrong with iostream lib?

using namespace std;

int main()
int a=11;
int *ptr;
cout << a;
return 0;
what is your compiler?
Dev c++ .It was working fine earlier and my codes was running fine too,but now when I run those previous codes I came up with the same error that no include path in which to search for iostream.
Last edited on
Topic archived. No new replies allowed.