Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming > #2191
| Message-ID | <504FC54B.7D2@mindspring.com> (permalink) |
|---|---|
| Date | 2012-09-11 19:12 -0400 |
| From | pete <pfiland@mindspring.com> |
| Organization | PF |
| Newsgroups | comp.programming |
| Subject | Re: true loop |
| References | <d7cd0c38-525c-4796-98e4-4a068d91846c@googlegroups.com> |
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
Back to comp.programming | Previous | Next — Previous in thread | Next in thread | Find similar
true loop bob <bob@coolfone.comze.com> - 2012-09-11 10:52 -0700
Re: true loop Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-09-11 11:17 -0700
Re: true loop pete <pfiland@mindspring.com> - 2012-09-11 19:12 -0400
Re: true loop Patricia Shanahan <pats@acm.org> - 2012-09-11 16:28 -0700
Re: true loop pete <pfiland@mindspring.com> - 2012-09-11 22:23 -0400
Re: true loop Geoff <geoff@invalid.invalid> - 2012-09-11 19:33 -0700
Re: true loop Patricia Shanahan <pats@acm.org> - 2012-09-11 19:53 -0700
Re: true loop Nick Keighley <nick_keighley_nospam@hotmail.com> - 2012-09-12 02:23 -0700
Re: true loop "Chris Uppal" <chris.uppal@metagnostic.REMOVE-THIS.org> - 2012-09-15 10:56 +0100
Re: true loop Nick Keighley <nick_keighley_nospam@hotmail.com> - 2012-09-12 02:21 -0700
Re: true loop pete <pfiland@mindspring.com> - 2012-09-12 18:04 -0400
Re: true loop Ian Collins <ian-news@hotmail.com> - 2012-09-13 10:22 +1200
Re: true loop Geoff <geoff@invalid.invalid> - 2012-09-12 19:06 -0700
Re: true loop Mok-Kong Shen <mok-kong.shen@t-online.de> - 2012-09-13 16:27 +0200
Re: true loop Nick Keighley <nick_keighley_nospam@hotmail.com> - 2012-09-19 07:04 -0700
Re: true loop Patricia Shanahan <pats@acm.org> - 2012-09-19 07:30 -0700
csiph-web