Mail Archives: djgpp/2000/06/28/22:15:13
On 28 Jun 2000 21:09:51 GMT, Sinan_Unur AT mail DOT com (A. Sinan Unur)
wrote:
>radsmail AT juno DOT com (Radical NetSurfer) wrote in
><7qmkls0k46jupmhklc5sqesf999hn7vmjl AT 4ax DOT com>:
>
>>They most certainly ARE on topic, as I'm having SegFaults
>>specific to DJ _and_ allegro, BITMAP* is an Allegro object,
>>as it Pallete.... thus the relevancy.
>
>just my two cents:
>
>the question of whether an array of pointers to a data structure is the same
>thing as an array of instances of another data structure is independent of
>Allegro and DJGPP regardless of the specific data types involved. just as a
>post regarding a C program for computing distances between points in Manhattan
>is not on-topic for nyc.market.housing, this question is not on-topic for
>c.o.m.d. either. (you can find the charter of this group at
>http://www.delorie.com/djgpp/mailing-lists/comp.os.msdos.djgpp.html)
>
>however, i do realize that i am continuing this trivial argument at DJ's
>expense, so i'll shut up regarding this issue.
>
>anyway, do check out: http://www.eskimo.com/~scs/cclass/int/top.html. FYI, the
>author of this, Steve Summit, maintains the comp.lang.c FAQ list, another
>reference which you should keep handy.
>
>Sinan.
ummm, you're just wrong...
struct blah
{
int whatever;
};
typedef struct blah blub;
typedef struct *blah blab;
blub *a[60];
blah b[60];
oh look... they're the same... huh... imagine the irony... one type...
and a pointer to a different type... *and they're the same thing*!!!
Don't hate me, I'm just in a bad mood.
Sean
PS onto the original question... I don't think they're the same... I'd
have to read the docs to be sure, but I think palette is an array of
rgb pixels or however they're defined... while bitmap is a 2d array of
pixels with bounds, etc included. and I do think that was on topic as
it was related to allegro... not some random library unrelated to
djgpp...
- Raw text -