The way it works in C is thus:
DO{ //Loop starts here
line of code;
line of code;
}WHILE(Condition) //end of loop
E.G.
DO{
int ch;
Printf("Hello");
ch = getch();
}WHILE (!ch = 'q');
This is a very crude example but I hope it helps you to understand looping in
C/C++.
Danny