Mail Archives: djgpp/1997/06/25/14:46:21

From: "A. Sinan Unur" <asu1 AT cornell DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: alt.comp.lang.learn.c-c++ (was Re: My second function doesn't work (stupid newbie question))
Date: Tue, 24 Jun 1997 19:11:15 -0400
Organization: Cornell University
Lines: 29
Sender: asu1 AT cornell DOT edu (Verified)
Message-ID: <>
References: <Pine DOT D-G DOT 3 DOT 91 DOT 970624161235 DOT 85D-100000 AT dg1>
Reply-To: asu1 AT cornell DOT edu
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Art S. Kagel wrote:
> On Sun, 22 Jun 1997 dabrownz AT mindspring DOT com wrote:
> > float main()
> > {
> I do not see anything wrong with the second function either, the exact
> error message might help here.   However, main() CANNOT BE DECLARED

his _other_ problem was that he wasn't using * for multiplication, he
had written something like s(s-a) to mean s*(s-a).

for people like these sorts of problems, i recommend, in addition to the
c and c++ faqs, the newsgroup

 A. Sinan Unur                                WWWWWW
 mailto:sinan DOT unur AT cornell DOT edu                C   ^     \  ~/ 

Unsolicited e-mail is _not_ welcome, and will be billed for.

- Raw text -

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