C (7/304)

From:Stephen Illingworth
Date:02 Aug 2000 at 10:44:57
Subject:Re: Why doesn't this code work?

Hello Andrew

On 01-Aug-00, you wrote:

>> From: "Donald W Millican" <DonaldWM@stonelawdrive.freeserve.co.uk>
>
>> I assumed (and still do assume based on my own debugging) that the
>> crash happens when the program runs and attempts to load its data
>> file. When the program was in its early stages, I created seperate
>> create-file and read-file programs which were then incorporated into
>> the main program as save and load functions respectively with no
>> changes whatsoever. These original programs have always worked
>> perfectly.
>>
>> When PupilDbase is run under OS3.0 it will freeze and cause a system
>> reset during or after initial loading. Curiously, all three programs
>> work fine under OS3.5 with not the slightest problem.
>
> I've just compiled it (it compiled without modifications - except the
> pathname) and had a very quick play with it. I entered a new pupil,
> printed it out (including the pupils that were already in the data file)
> then quit. It all worked without any crashes. I compiled it under HiSoft
> C++ running OS3.0 on WinUAE, if that's any help.
>

Oh, it's C++. I'd never have guessed :-)