It’s an infinite loop, equivalent to while(true)
. When no termination condition is provided, the condition defaults to false (i.e., the loop will not terminate).
More Related Contents:
- If statements in for loops
- How to print 5 values per line in C++ using only loop statement and no if-statements? [closed]
- Lowercase letters that did not appear in the array, in order [closed]
- Triple Nested For loop (C++) [closed]
- Don’t know how to add loop to my program…?
- Multicharacter literal in C and C++
- Why use iterators instead of array indices?
- Post-increment and pre-increment within a ‘for’ loop produce same output [duplicate]
- Const before or const after?
- Can I use break to exit multiple nested ‘for’ loops?
- When is the “typename” keyword necessary? [duplicate]
- Removing item from vector, while in C++11 range ‘for’ loop?
- What is special about numbers starting with zero?
- Why do people use __ (double underscore) so much in C++
- What are the advantages of list initialization (using curly braces)?
- Can the template parameters of a constructor be explicitly specified?
- Same random numbers every loop iteration
- Why is using the function name as a function pointer equivalent to applying the address-of operator to the function name?
- What’s this C++ syntax that puts a brace-surrounded block where an expression is expected?
- Allow for Range-Based For with enum classes?
- How typedef works for function pointers
- How to break out of a loop from inside a switch?
- What does `auto && e` do in range-based for-loops?
- Why does this call the default constructor?
- What’s the syntax for declaring an array of function pointers without using a separate typedef?
- Creating N nested for-loops
- Why do some people prefer “T const&” over “const T&”?
- ++i or i++ in for loops ?? [duplicate]
- Meaning of *& and **& in C++
- Is there a way to write a large number in C++ source code with spaces to make it more readable? [duplicate]