Path: utzoo!attcan!uunet!lll-winken!elroy.jpl.nasa.gov!usc!zaphod.mps.ohio-state.edu!lavaca.uh.edu!menudo.uh.edu!sugar!ficc!peter From: peter@ficc.ferranti.com (Peter da Silva) Newsgroups: comp.lang.c Subject: Re: Some interesting novice questions from a novice guy Message-ID: Date: 25 Oct 90 22:24:44 GMT References: <14488.27252b63@max.u.washington.edu> <3553@idunno.Princeton.EDU> Reply-To: peter@ficc.ferranti.com (Peter da Silva) Organization: Xenix Support, FICC Lines: 11 In article <3553@idunno.Princeton.EDU> pfalstad@shine.Princeton.EDU (Paul John Falstad) writes: > while (*ptr++) { /* warning: confusion ahead */ > DO_ABSOLUTELY_NOTHING ; /* Note: I meant to do this */ > } /* no more confusion, you can relax now */ I saw this discussion. Doesn't make sense. Doesn't anyone use: while(*foo++) continue; anymore? -- Peter da Silva. `-_-' +1 713 274 5180. 'U` peter@ferranti.com