Mail Archives: djgpp/1998/04/27/18:47:46
At 14:38 27/04/98 -0400, you wrote:
>Daniel Delorme wrote:
>> Put each function in a different file and compile them as a project
>> (I use RHIDE) and you'll get SIGFPE except if you run the program from
>> the RHIDE editor under win95. But if you do that, although it won't
>> crash, the output will be wrong.
>
>runs fine for me...
>first file:
>#include "stdio.h"
>double ReturnDouble(int I);
>main()
>{
>[...]
Since you declare the function in the first file, it's no wonder the
program runs fine. It's as if the two functions are in the same file,
and I never had any trouble with that
Just try to remove "double ReturnDouble(int I);" from the first file :)
- Raw text -