Hernan Berinsky wrote: > while(1) > { ... > } > Wich function expects while(...) to return <> 1 to exit loop? It never does. This is a never ending loop. while loops as long as the expression is <> 0. Only way to break such a loop is to use break. while(1) { /* A normally never ending loop */ ... if (error or some other odd condition) break; /* Ends the loop */ ... } --- Henrik Nordström
- a question Hernan Berinsky
- Re: a question Glynn Clements
- Henrik Nordstrom