From: "Johan Venter" Newsgroups: comp.os.msdos.djgpp References: <37b66934 DOT 8789241 AT newsserver DOT cc DOT monash DOT edu DOT au> Subject: Re: something went wrong Lines: 32 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Message-ID: Date: Mon, 16 Aug 1999 11:14:04 +1000 NNTP-Posting-Host: 203.40.83.183 X-Trace: newsfeeds.bigpond.com 934800686 203.40.83.183 (Mon, 16 Aug 1999 20:51:26 EST) NNTP-Posting-Date: Mon, 16 Aug 1999 20:51:26 EST Organization: Telstra BigPond Internet Services (http://www.bigpond.com) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Chewbaklava wrote in message news:oOzt3.107$%J4 DOT 19431 AT harpo DOT ctel DOT net... > thanks, that probably it. i'm really an idiot when it come to looking for > little mistakes like that. god, one little typo and you're all screwed up > and can't do ANYTHING. Why don't you indent your code? That way you can see where the logic flow is and easily find your errors. For example: int main(void) { int x, y; for (x = 0; x < 10; x++) { /*do stuff*/ for (y = 0; y < 10; y++) { /*do stuff*/ } } return 0; } -- Johan Venter ICQ 3643877 surf.to/djgppig