You should also loop into while loops and for loops.

Code:
int a = 50;
do{
   std::cout << "I'm inside the loop " << a++ << std::endl;
} while (a < 10);
Code:
int a = 50;
while (a < 10){
   std::cout << "I'm inside the loop " << a++ << std::endl;
}
Have one but very important difference, see if you can figure out what it is