newbie seeking help
Jessica Wang
miss_jessicaw@hotmail.com
Wed Mar 14 09:43:00 GMT 2001
Hi,
I'm very new at programming. I'm trying to compile a C++
program using Cygwin g++ on Windows NT. The program is:
#include <iostream.h>
int main()
{
cout <( "Hello World" << endl;
return 0;
}
I'm getting the following error:
$ g++ hello.C -o hello
hello.C: In function `int main()':
hello.C:20: invalid operands `const char[12]' and `ostream & ()(ostream &)'
to binary `operator <<'
hello.C:20: parse error before `;'
Please help... thanks.
Jessica
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com .
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list