delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/06/18/21:22:49

From: "Wayne" <dockeen AT mchsi DOT com>
To: <djgpp AT delorie DOT com>
Subject: newbie here having trouble saying hello
Date: Wed, 18 Jun 2003 20:21:44 -0500
Message-ID: <IHEAIGJEFNKKKDPFCPECCEJBCBAA.dockeen@mchsi.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Importance: Normal

The problem you are having is a common problem, and it stems from
the fact that C++ compilers were around before there was a
standard.  When the standard did comeout in late 1998, it called
for a header notation that was different than what had been
used in the C world and previous to the standard in the C++
world.  C++ compilers are getting closer to the standard,
so you see the waning you see.  This link will give you some
more insight into standard header notation:

http://www.cplusplus.com/doc/ansi/hfiles.html

And of course you know about the requirement that main must return
an integer.

Hope this babbling helps,

Wayne

- Raw text -


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