Command in C or C++ that will produce an infinite loop unless a break; or return ; command is included. while(1) is useful as an alternative to for(;;) or :label ... goto label;. Takes direct advantage of the fact that 1 is a nonzero result&and will always be true.

Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.