for loop (Solved)

Hi, I found that loop

for (;;)

I would like to know, what it exactly does,
and google isn´t a good friend today ;D

infinite loop ???

It compiles? I would guess it’s an infinite loop, like while(true) :slight_smile:

As stated before, this is an infinite loop.

thx for reply :slight_smile:

I guess it’s an empty version of this:

for(int i = 0; i < 10; i++){}

If you want an infinite loop, use “while (true)”. It’s much easier to spot than the empty C-style loop.