Anyone helps me with this :
#include <iostream>
int main()
{
cout<<"DJGPP sucks ?";
return 0;
}
I couldn't compile this successfully and didn't know why DJGPP doesn't know "cout" ? ("cout undeclared")
how come ?
DJGPP sucks ?
Moderator: Board moderators
You may want to try this.I couldn't compile this successfully and didn't know why DJGPP doesn't know "cout" ? ("cout undeclared")
[cpp]#include <iostream>
using namespace std;
int main()
{
cout<<"DJGPP sucks ?";
return 0;
}
[/cpp]
If the above does not work, you may want to try this as an alternative.
[cpp]#include <iostream.h>
int main()
{
cout<<"DJGPP sucks ?";
return 0;
}
[/cpp]