Re: overlapping two gif files

1999-04-02 Thread Rob Pinkerton
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 will one of the gifs have a transparent background? if not then you hav eto decide which color in which gif will take precedence. If you know the header info for a gif (sorry I don't) then you could read the file in bit by bit and do it easily. At

Re: Type casting with malloc()

1999-04-02 Thread Glynn Clements
holotko wrote: > Let's say I want to dynamically allocate some memory to an object that > I am creating using malloc(). Traditionally I do the following: > > ObjectType *objectpointer; /* Decl. of pointer to object */ > > objectpointer = (ObjectType *)malloc(sizeof(ObjectType)); > > My q

Re: overlapping two gif files

1999-04-02 Thread Wei Weng
No. That is not what i meant. I am looking for a way or a as small as possible program that I can run under command line that can overlap two gifs. say the command is called combinegif. so it would be like combinegif 1.gif 2.gif and it will generate like a.gif and the output will be 1.gif with 2.g

overlapping two gif files

1999-04-02 Thread Wei Weng
can anyone give me some hints or suggestions on how I could write a program to overlap two gif files together? Or simply, is there any program out there that can do the work for me? Thanks! -- Wei Weng | idol

Re: foolish compile problem

1999-04-02 Thread Yasushi Shoji
From: Canul Podkopayeva <[EMAIL PROTECTED]> Subject: foolish compile problem Date: Fri, 2 Apr 1999 05:05:41 -0800 (PST) > i'm doing a: > > gcc -lX11 file.c > > and i get the err: > > ld: cannot open -lX11: No such file or directory > > But I'm sure I have the Xlib because I've installed its

foolish compile problem

1999-04-02 Thread Canul Podkopayeva
i'm doing a: gcc -lX11 file.c and i get the err: ld: cannot open -lX11: No such file or directory But I'm sure I have the Xlib because I've installed its rpm I've cated /usr/lib/X11R6 > /etc/ld.so.conf and also all the other dirs that has libs on my system. And I've also ran ldconfig. How c

Re: Type casting with malloc()

1999-04-02 Thread Amol Mohite
dont use malloc with objects. It does not call the constructor. use new and delete.