Do-While Loops

Do-while loops are very much like while loops, except that the loop body is executed once before the loop condition is ever evaluated. After that, they are exactly the same.

Example:

    do {
      cout << "This is a test";
    } while(0);