From: "Chris A. Triebel" Newsgroups: comp.os.msdos.djgpp Subject: Re: Laugh at my mistakes (Errors you wish you're mother told you about) Date: Mon, 21 Oct 1996 12:26:13 -0400 Organization: University of New Hampshire - Durham, NH Lines: 18 Message-ID: References: <54fgop$eoe AT whitbeck DOT ncl DOT ac DOT uk> NNTP-Posting-Host: sun4.iol.unh.edu Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII In-Reply-To: <54fgop$eoe@whitbeck.ncl.ac.uk> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp while(i=0) // never enters the loop { ... } int j=SOME_NUMBER_NOT_ZERO; while(i=j) // perpetual look where i never really changes { i++; ... } Very common for me using a compiler that doesn't throw a warning about setting value where it suspects a comparator should be. cat :)