Message-ID: <004001c0a423$64a32d00$6866fea9@desktop> From: "Steven C. Hendrickson" To: References: <3AA06D35 DOT 649C4A27 AT optonline DOT net> Subject: Re: Having a problem w/sorce codes Date: Sat, 3 Mar 2001 12:49:03 -0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_003D_01C0A3E0.53C07EE0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Reply-To: djgpp AT delorie DOT com This is a multi-part message in MIME format. ------=_NextPart_000_003D_01C0A3E0.53C07EE0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Use Quotes (") instead of (') for your "Hello World". Use zero instead of 'o' for your return statement. Steve ----- Original Message -----=20 From: R B=20 Newsgroups: comp.os.msdos.djgpp To: djgpp AT delorie DOT com=20 Sent: Friday, March 02, 2001 8:04 PM Subject: Having a problem w/sorce codes Dear Sir,=20 I have installed a C++ program from this book called C++ in = 24hr.=20 which reconize borland compliers, etc.,etc.=20 However when I started the "Hello World" program I kept getting this = error message in line 5.=20 This is how I designed the program:=20 1. #include =20 2.=20 3. int main()=20 4. {=20 5. cout << 'Hello World! /n';=20 6. return o;=20 7. }=20 now I tried to complied this program and I get this error message: = "../tmp/hello.cpp(5)error:parse error before';'"=20 this message prevents me from running the program and I have no idea = what's wrong, please help and guide me in the right direction.=20 Your assistance in this matter will be deeply appreciated.=20 Thank you for your time and cooperation in this matter.=20 Jonathan750 AT aol DOT com=20 ------=_NextPart_000_003D_01C0A3E0.53C07EE0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Use Quotes  (") instead of (') for = your "Hello=20 World".
Use zero instead of 'o' for your return = statement.
 
Steve
----- Original Message -----
From:=20 R B=20
Newsgroups: = comp.os.msdos.djgpp
Sent: Friday, March 02, 2001 = 8:04=20 PM
Subject: Having a problem = w/sorce=20 codes

Dear=20 Sir,
        I have = installed  a=20 C++ program from this book called C++ in 24hr.
which reconize borland = compliers,=20 etc.,etc.
However=20 when I started the "Hello World" program I kept getting this error = message in=20 line 5.
This is=20 how I designed the program:
1.  #include=20 <iostream.h>
2.
3.   int main()
4. {
5.   cout << = 'Hello World!=20 /n';
6.   return o;
7.  } =
now I tried to complied this = program and I=20 get this error message: "../tmp/hello.cpp(5)error:parse error=20 before';'"
this=20 message prevents me from running the program and I have no idea what's = wrong,=20 please help and guide me in the right direction. =
   Your assistance = in this=20 matter will be deeply appreciated.
Thank you for your time and = cooperation in=20 this matter.=20

Jonathan750 AT aol DOT com=20

------=_NextPart_000_003D_01C0A3E0.53C07EE0--