Search:

Type: Posts; User: rougeking

Search: Search took 0.15 seconds.

  1. Replies
    3
    Views
    1,218

    Re: Having trouble with for loop statement.

    yeah......for( ; ; ) is an infinite loop.....u can use it like...
    for( ; ; )
    {
    if(somecondition) break;
    }

    it means until and unless that condition is satisfied loop runs :)
  2. Replies
    3
    Views
    1,218

    Re: Having trouble with for loop statement.

    yeah......for( ; ; ) is an infinite loop.....u can use it like...
    for( ; ; )
    {
    if(somecondition) break;
    }

    it means until and unless that condition is satisfied loop runs :)
Results 1 to 2 of 2