Logo

Programming-Idioms

History of Idiom 50 > diff from v29 to v30

Edit summary for version 30 by :
New Cpp implementation by user [GhassanPL]

Version 29

2016-02-16, 17:17:31

Version 30

2016-02-16, 18:02:44

Idiom #50 Make an infinite loop

Write a loop which has no end clause.

Idiom #50 Make an infinite loop

Write a loop which has no end clause.

Code
for (;;) {}
Comments bubble
You may remove the curly braces if the block is only 1 instruction.