News

For example, if you are building a game, then you might want the bulk of your code to continuously “loop” while you update the position of enemies and check for player inputs.
The code you quoted is given as an example of something that syntactically looks like an infinite loop, but may still terminate (through e.g. a longjmp()). Rewriting it as a while()-loop doesn’t ...