Case 1: While-Loop (Mail 31.05.2013 20:50) ------------------ while (x) { e; } Translation: for temp = 0:0:0 { if (x) { e; } else { temp = temp + 1; // break; } } Case 2: Do-While-Loop (Java) (Mail 31.05.2013 20:50) --------------------- do { e; } while (x); Translation: for temp = 0:0:0 { e; if (!x) { temp = temp + 1; // break; } } Case 3: Repeat-Until-Loop (Delphi) (Mail 31.05.2013 20:50) ------------------------- repeat { e; } until (x); Translation: for temp = 0:0:0 { e; if (x) { temp = temp + 1; // break; } } Case 4: Switch-Statement (not C++ style!) (Mail 31.05.2013 10:33) ------------------------ switch (x) { case 'a': abc; case 'b': def; case 'c': ghi; default: xyz; } Translation: if (x = 'a') { abc; } else if (x = 'b') { def; } else if (x = 'c') { ghi; } else { xyz; }