delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/03/02/23:00:24

Date: Fri, 02 Mar 2001 23:04:05 -0500
From: R B <reabee71 AT optonline DOT net>
Subject: Having a problem w/sorce codes
To: djgpp AT delorie DOT com
Message-id: <3AA06D35.649C4A27@optonline.net>
Organization: N/A
MIME-version: 1.0
X-Mailer: Mozilla 4.76 [en]C-CCK-MCD {Cablevision Optimum Online} (Win95; U)
X-Accept-Language: en
X-Priority: 2 (High)
Reply-To: djgpp AT delorie DOT com

--Boundary_(ID_0+K2155vxFExmF2yiq1ByA)
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT

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

Jonathan750 AT aol DOT com

--Boundary_(ID_0+K2155vxFExmF2yiq1ByA)
Content-type: text/html; charset=us-ascii
Content-transfer-encoding: 7BIT

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<font face="BrushScript BT"><font size=+1>Dear Sir,</font></font>
<br><font face="BrushScript BT"><font size=+1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
I have installed&nbsp; a C++ program from this book called C++ in 24hr.</font></font>
<br><font face="BrushScript BT"><font size=+1>which reconize borland compliers,
etc.,etc.</font></font>
<br><font face="BrushScript BT"><font size=+1>However when I started the
"Hello World" program I kept getting this error message in line 5.</font></font>
<br><font face="BrushScript BT"><font size=+1>This is how I designed the
program:</font></font>
<br><font face="BrushScript BT"><font size=+1>1.&nbsp; #include &lt;iostream.h></font></font>
<br><font face="BrushScript BT"><font size=+1>2.</font></font>
<br><font face="BrushScript BT"><font size=+1>3.&nbsp;&nbsp; int main()</font></font>
<br><font face="BrushScript BT"><font size=+1>4. {</font></font>
<br><font face="BrushScript BT"><font size=+1>5.&nbsp;&nbsp; cout &lt;&lt;
'Hello World! /n';</font></font>
<br><font face="BrushScript BT"><font size=+1>6.&nbsp;&nbsp; return o;</font></font>
<br><font face="BrushScript BT"><font size=+1>7.&nbsp; }</font></font>
<br><font face="BrushScript BT"><font size=+1>now I tried to complied this
program and I get this error message: "../tmp/hello.cpp(5)error:parse error
before';'"</font></font>
<br><font face="BrushScript BT"><font size=+1>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.</font></font>
<br><font face="BrushScript BT"><font size=+1>&nbsp;&nbsp; Your assistance
in this matter will be deeply appreciated.</font></font>
<br><font face="BrushScript BT"><font size=+1>Thank you for your time and
cooperation in this matter.</font></font><font face="BrushScript BT"><font size=+1></font></font>
<p><font face="BrushScript BT"><font size=+1>Jonathan750 AT aol DOT com</font></font></html>

--Boundary_(ID_0+K2155vxFExmF2yiq1ByA)--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019