Dynamic Memory Allocation Problems?
Stan Friesen
sarima at gryphon.CTS.COM
Mon Apr 4 07:16:12 AEST 1988
I am having my own problems with a program using dynamic memory
allocation. The problem is very strange. The program passes lint, and compiles
and executes correctly on a M68000 based UNIX box, but when I compile it using
the Lattice C compiler on my XT-clone and attempt to run it, it scribbles all
over the screen and crashes DOS. I have carefully checked all my subscripting,
at least as far as possible. Any ideas?
Oh, by the way, the program also uses floating point extensively. I
rather suspect the problem may be there rather than with the malloc(). But
then I really don't know.
More information about the Comp.lang.c
mailing list