Search:
Forum
Beginners
header file problem
header file problem
Apr 7, 2014 at 2:45pm UTC
patrickmurf
(5)
When I compiled this code, it's giving that cout and system pause are undeclared.What's wrong with iostream lib?
#include<iostream>
using namespace std;
int main()
{
int a=11;
int *ptr;
ptr=&a;
cout << a;
system("pause");
return 0;
}
Apr 7, 2014 at 2:51pm UTC
herrybiscuit
(56)
what is your compiler?
Apr 7, 2014 at 3:14pm UTC
patrickmurf
(5)
Dev c++ 4.9.9.2 .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
Apr 7, 2014 at 3:20pm UTC
Topic archived. No new replies allowed.
C++
Information
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs