for loop
The classical form of loop organization for C++.
You can interrupt the execution of the loop anywhere with the break directive;
Note. Curly brackets are required. Declaring a loop variable inside the for(... ) construct is not allowed.
Example.
Write the phrase "Hello World!" 10 times in the message window.
int i;
for (i = 0; i < 10; i++)
{
cout << "Hello World!";
}