delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/21/19:24:39

From: sparhawk AT eunet DOT at (Gerhard Gruber)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Help!!
Date: Mon, 21 Sep 1998 19:51:26 GMT
Organization: Customer of EUnet Austria
Lines: 34
Message-ID: <3609a967.18662392@news.Austria.EU.net>
References: <DSGUNGAx$WB2EwpY AT carol-and-dave DOT demon DOT co DOT uk>
NNTP-Posting-Host: e191.dynamic.vienna.at.eu.net
Mime-Version: 1.0
NNTP-Posting-Date: 21 Sep 1998 19:53:37 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Destination: Bishop <1 AT carol-and-dave DOT demon DOT co DOT uk>
From: Gruber Gerhard
Group: comp.os.msdos.djgpp
Date: Sun, 20 Sep 1998 22:13:21 +0100:

> int main();
            ^
Remove that.


>so i tried compiling it with g++ and it said "parse error before {"
>
>What do i do!!

You should have looked at the line the compiler mentioned. This is a C newbie
problem, not a compiler problem.

>I know that this is a good program as many people have recommended it to
>me so i would like to know what i am doing wrong!

I recommend that you get a C/C++ tutorial. There are a lot of good books about
C/C++.

--
Bye,
   Gerhard

email: sparhawk AT eunet DOT at
       g DOT gruber AT sis DOT co DOT at

Spelling corrections are appreciated.
ICQ#: 18578771

- Raw text -


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