From: Vic Newsgroups: comp.os.msdos.djgpp Subject: Re: ALLEGRO BITMAP STRUCT Date: Fri, 16 Jan 1998 22:16:58 -0500 Organization: Communications Accessibles Montreal, Quebec Canada Lines: 7 Message-ID: <34C022AA.793E@cam.org> References: <69p12e$m2r$1 AT keppler DOT global-one DOT es> NNTP-Posting-Host: dialup-424.hip.cam.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Javier A. wrote: > if (struct->line[0]==2) {} GCC is right. BITMAP*->line is an array of pointers to lines, like, line[0] is a pointer to the first line etc. it is like line[y][x] so line[3][5] refers to the sixth pixel of the forth line. -- --> http://www.cam.org/~tudor <--