Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com X-Originating-IP: [206.191.16.98] From: "Jessica Wang" To: cygwin AT cygwin DOT com Subject: newbie seeking help Date: Wed, 14 Mar 2001 17:42:34 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 14 Mar 2001 17:42:34.0879 (UTC) FILETIME=[273A40F0:01C0ACAE] 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 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