Mail Archives: djgpp/1997/06/24/16:20:11
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
- Raw text -