Received: by 10.66.73.170 with SMTP id m10mr3353349pav.29.1347405132666; Tue, 11 Sep 2012 16:12:12 -0700 (PDT) Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!usenet.stanford.edu!r4no1625781pbs.0!news-out.google.com!t10ni12569372pbh.0!nntp.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail NNTP-Posting-Date: Tue, 11 Sep 2012 18:12:11 -0500 Message-ID: <504FC54B.7D2@mindspring.com> Date: Tue, 11 Sep 2012 19:12:11 -0400 From: pete Reply-To: pfiland@mindspring.com Organization: PF X-Mailer: Mozilla 3.04Gold (WinNT; I) MIME-Version: 1.0 Newsgroups: comp.programming Subject: Re: true loop References: Lines: 20 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 4.154.218.5 X-Trace: sv3-uEk+yrRGQdhb3xotrmm2NtvXpYOu7cm4J84r70+3GFINX09bQ2YS7LeedtPixLBVyVFQ3ZRuzv4Q3Ev!OGLl9YhYmMuAlITdM08LzUc+vAvvpgb24ShytgrImN+WpiCgFn+x5/5wBM2/E5MRIXBKh+syYS1x!LO2YnY4= X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 1275 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Xref: csiph.com comp.programming:2191 bob wrote: > > Is it considered bad practice to do something like this? > > while (true) > { > > ... > > } Th C compiler which I use, issues a warning for that. In C, for(;;) is for writing that kind of loop. -- pete