|
From: Dario G. <gr...@bi...> - 2003-03-26 12:14:34
|
hi to all.
i'm a newbie of c++.
i ve installed dev-c on a win 2000 pro system.
i wrote a simple program as "hello world" as this:
#include <iostream>
using namespace std;
int main ()
{
cout << "hello world";
return 0;
}
but when i compile this program, dev-c gives me 2 errors:
1) iostream is no such file or directory;
2) cout undeclared in first use.
i've tried to use the old standard:
#include <iostream.h>
...etc...
but the result is the same.
which is the problem?
the same response is gived using gcc under linux red hat 7.3.
thankyou for help.
d
|