| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| From: | "Marcus A Martin" <shalidor AT cfl DOT rr DOT com> |
| To: | "Jessica Wang" <miss_jessicaw AT hotmail DOT com>, <cygwin AT cygwin DOT com> |
| Subject: | RE: newbie seeking help |
| Date: | Wed, 14 Mar 2001 13:40:49 -0500 |
| Message-ID: | <JEEDKLJIAHHJEMMDJMOBIEGCCBAA.shalidor@cfl.rr.com> |
| MIME-Version: | 1.0 |
| X-Priority: | 3 (Normal) |
| X-MSMail-Priority: | Normal |
| X-Mailer: | Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) |
| Importance: | Normal |
| In-Reply-To: | <LAW2-F42vLVKi3s1wsX0000c370@hotmail.com> |
| X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.3018.1300 |
try:
cout << "Hello World" << endl;
> -----Original Message-----
> From: cygwin-owner AT sources DOT redhat DOT com
> [mailto:cygwin-owner AT sources DOT redhat DOT com]On Behalf Of Jessica Wang
> Sent: Wednesday, March 14, 2001 5:43 PM
> To: cygwin AT cygwin DOT com
> Subject: newbie seeking help
>
>
> 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
>
>
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |