Date: Tue, 24 Jun 1997 16:16:28 -0400 (EDT) From: "Art S. Kagel" To: dabrownz AT mindspring DOT com Cc: djgpp AT delorie DOT com Subject: Re: My second function doesn't work (stupid newbie question) In-Reply-To: <33ac9f87.20873600@news.mindspring.com> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Sun, 22 Jun 1997 dabrownz AT mindspring DOT com wrote: > DJGPP keeps telling me that there is something wrong with my second > function. I don't see why. Please help, I'm a stupid newbie and I'll > appriciate any help (the answer is probably right under my nose) > > 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: int main( void ) /* OR in C++: int main() */ OR int main( int argc, char **argv ); Perhaps the "float main()" is the problem. Please post the exact error message. Art S. Kagel, kagel AT bloomberg DOT com