| delorie.com/archives/browse.cgi | search |
| From: | Martin Ambuhl <mambuhl AT earthlink DOT net> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: please help with error "int main()" |
| Date: | Mon, 16 Nov 1998 18:08:01 -0500 |
| References: | <365092d6 DOT 6236108 AT cnews DOT newsguy DOT com> |
| Organization: | Nocturnal Aviation |
| X-Posted-Path-Was: | not-for-mail |
| X-Accept-Language: | en |
| Mime-Version: | 1.0 |
| Lines: | 27 |
| NNTP-Posting-Host: | 1cust166.tnt12.nyc3.da.uu.net |
| X-ELN-Date: | Mon Nov 16 15:15:10 1998 |
| X-Mailer: | Mozilla 4.5 [en] (Win95; I) |
| Message-ID: | <3650B051.ECD5157C@earthlink.net> |
| 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:
>
> Someone please help me with this problem. First simple program wont
> compile.
>
> hello5.cpp
>
> #include <iostream.h>
>
> int main ()
> {
> cout << "Hello World!\n");
^^^
This is the unmatched paren. Remove it.
> return 0;
> }
>
> error message looks like this
>
> hello5.cpp: in function 'int main()':
> hello5.cpp:5: parse error before ')'
--
Martin Ambuhl (mambuhl AT earthlink DOT net)
Note: mambuhl AT tiac DOT net will soon be inactive
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |