From: "A. Sinan Unur" 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: Reply-To: asu1 AT cornell DOT edu NNTP-Posting-Host: cu-dialup-0040.cit.cornell.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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. *******************************************************************