WHich loop to use and when? do/while, for, else, if else, while, goto

The 'for' loop exists because the following is a very common construct:

    int i = 0;  // Initialize the loop variable
    while (i < loopLimit) {  // Test for end of loop
        // Do Stuff
        i++;  // Increment loop varaible
    }  // End of loop body

It is much easier to write (and read!) it it is all on one line:

    for (int i = 0; i < loopLimit; i++) {
        // Do Stuff
    }  // End of loop body

If your loop looks much like the 'while' above you probably should have used the 'for'.