Mail Archives: djgpp/2001/03/03/15:56:10
This is a multi-part message in MIME format.
------=_NextPart_000_0045_01C0A3E0.87EF90C0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Also, you need to be careful in your typing; the compiler cannot allow =
for even minor spelling mistakes.
Good luck...
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 <iostream.h>=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_0045_01C0A3E0.87EF90C0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Also, you need to be careful in your =
typing; the=20
compiler cannot allow for even minor spelling mistakes.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Good luck...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Steve</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV=20
style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
<A title=3Dreabee71 AT optonline DOT net =
href=3D"mailto:reabee71 AT optonline DOT net">R B</A>=20
</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Newsgroups:</B> =
comp.os.msdos.djgpp</DIV>
<DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Ddjgpp AT delorie DOT com=20
href=3D"mailto:djgpp AT delorie DOT com">djgpp AT delorie DOT com</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Friday, March 02, 2001 =
8:04=20
PM</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Having a problem =
w/sorce=20
codes</DIV>
<DIV><BR></DIV><FONT face=3D"BrushScript BT"><FONT size=3D+1>Dear=20
Sir,</FONT></FONT> <BR><FONT face=3D"BrushScript BT"><FONT=20
size=3D+1> I have =
installed a=20
C++ program from this book called C++ in 24hr.</FONT></FONT> <BR><FONT =
face=3D"BrushScript BT"><FONT size=3D+1>which reconize borland =
compliers,=20
etc.,etc.</FONT></FONT> <BR><FONT face=3D"BrushScript BT"><FONT =
size=3D+1>However=20
when I started the "Hello World" program I kept getting this error =
message in=20
line 5.</FONT></FONT> <BR><FONT face=3D"BrushScript BT"><FONT =
size=3D+1>This is=20
how I designed the program:</FONT></FONT> <BR><FONT=20
face=3D"BrushScript BT"><FONT size=3D+1>1. #include=20
<iostream.h></FONT></FONT> <BR><FONT face=3D"BrushScript =
BT"><FONT=20
size=3D+1>2.</FONT></FONT> <BR><FONT face=3D"BrushScript BT"><FONT=20
size=3D+1>3. int main()</FONT></FONT> <BR><FONT=20
face=3D"BrushScript BT"><FONT size=3D+1>4. {</FONT></FONT> <BR><FONT=20
face=3D"BrushScript BT"><FONT size=3D+1>5. cout << =
'Hello World!=20
/n';</FONT></FONT> <BR><FONT face=3D"BrushScript BT"><FONT=20
size=3D+1>6. return o;</FONT></FONT> <BR><FONT=20
face=3D"BrushScript BT"><FONT size=3D+1>7. }</FONT></FONT> =
<BR><FONT=20
face=3D"BrushScript BT"><FONT size=3D+1>now I tried to complied this =
program and I=20
get this error message: "../tmp/hello.cpp(5)error:parse error=20
before';'"</FONT></FONT> <BR><FONT face=3D"BrushScript BT"><FONT =
size=3D+1>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.</FONT></FONT> =
<BR><FONT=20
face=3D"BrushScript BT"><FONT size=3D+1> Your assistance =
in this=20
matter will be deeply appreciated.</FONT></FONT> <BR><FONT=20
face=3D"BrushScript BT"><FONT size=3D+1>Thank you for your time and =
cooperation in=20
this matter.</FONT></FONT><FONT face=3D"BrushScript BT"><FONT=20
size=3D+1></FONT></FONT>=20
<P><FONT face=3D"BrushScript BT"><FONT =
size=3D+1>Jonathan750 AT aol DOT com</FONT></FONT>=20
</P></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_0045_01C0A3E0.87EF90C0--
- Raw text -