Mail Archives: djgpp/2000/06/30/11:53:03
The ACTUAL code in the program does have the proper
balance of ( and )'s, and of course the program compiles.
That actual block of AllocABC() has been called with
only 100 elements requested, and appears to pass the
initial tests perfectly.
Setting up the BITMAP's is relatively easy.
there's overhead work with Pallete thats a big pain though!
;-)
I've a lot of material to chew on and digest for a while anyways...
thanks everybody deeply!
I HAVE GOTTEN EXCELLANT idea's, and suggestions since
I've asked for help. I WISH TO THANK all who have responded,
the good, the bad (sorry, there were some), and superbly awesome
ideas!
Emails were fascinating too...
radsmail AT juno DOT com
http://members.tripod.com/~RadSurfer/
On Thu, 29 Jun 2000 22:48:11 -0400, Radical NetSurfer
<radsmail AT juno DOT com> wrote:
[snip]
> if (Pieces = (BITMAP**)malloc(PUZ_SIZE * sizeof(BITMAP*)))==NULL )
[snip]
that line is your problem...
Pieces is being assigned 0 everytime, unless you forgot to type a ( in
your copying... I don't even think it should compile that way
though...
Sean
------------------------------ and also -----------------------------
one more thing... why bother with the ALLOC_OK if you're exiting the
program before testing even if it isn't?
Sean
-----------------------------------------------------------------------------------------------------------
- Raw text -