From: sproctor AT enter DOT net (Sean) Newsgroups: comp.os.msdos.djgpp Subject: Re: something went wrong Date: Mon, 16 Aug 1999 17:26:36 GMT Message-ID: <37bc496a.17985860@news.enter.net> References: X-Newsreader: Forte Agent 1.5/32.452 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 207.16.153.115 X-Original-NNTP-Posting-Host: 207.16.153.115 X-Trace: 16 Aug 1999 13:27:07 -0400, 207.16.153.115 Organization: Enter.Net Lines: 21 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Sat, 14 Aug 1999 22:39:06 -0400, "Chewbaklava" wrote: >for (a = 0; a < 10; a++) >{ >for (i = 0; i < 256; i++) >} >putpixel(bmp, i, a, i); >} >} You don't even need those {}'s for(blah) for(blah) blah; would work just as well and you wouldn't have had that error. It's clearer to me besides. Sean