www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/11/16/17:55:18

From: Erik Max Francis <max AT alcyone DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: please help with error "int main()"
Date: Mon, 16 Nov 1998 14:45:03 -0800
Organization: Alcyone Systems
Lines: 24
Message-ID: <3650AAEF.200BF649@alcyone.com>
References: <365092d6 DOT 6236108 AT cnews DOT newsguy DOT com>
NNTP-Posting-Host: charmaine.alcyone.com
Mime-Version: 1.0
X-Mailer: Mozilla 3.01 (X11; I; Linux 2.0.34 i686)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

brannon AT camalott DOT com wrote:

> error message looks like this
> 
> hello5.cpp: in function 'int main()':
> hello5.cpp:5: parse error before ')'

Look at the error.  It is saying, "on line 5, I encountered a close
parenthesis that made me stop."

This is line 5:

    cout << "Hello World!\n");

See the dangling close parenthesis?

-- 
Erik Max Francis / email max AT alcyone DOT com / whois mf303 / icq 16063900
Alcyone Systems / irc maxxon (efnet) / finger max AT sade DOT alcyone DOT com
  San Jose, CA / languages En, Eo / web http://www.alcyone.com/max/
          USA / icbm 37 20 07 N 121 53 38 W / &tSftDotIotE
             \
            / Women are equal because they are not different any more.
           / Erich Fromm

- Raw text -


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