delorie.com/archives/browse.cgi   search  
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 http://www.cornell.edu
Lines: 29
Sender: asu1 AT cornell DOT edu (Verified)
Message-ID: <33B05412.3142@cornell.edu>
References: <Pine DOT D-G DOT 3 DOT 91 DOT 970624161235 DOT 85D-100000 AT dg1>
Reply-To: asu1 AT cornell DOT edu
NNTP-Posting-Host: cu-dialup-0040.cit.cornell.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
> ANYTHING OTHER THAN:

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

news:alt.comp.lang.learn.c-c++
-- 
   Sinan
 
*******************************************************************
 A. Sinan Unur                                WWWWWW
                                              |--O+O
 mailto:sinan DOT unur AT cornell DOT edu                C   ^ 
 http://www.people.cornell.edu/pages/asu1/     \  ~/ 

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