help with the for loop

hello i need help.
i know how to use the for loop its like:

for (int i = 0 ; i<10 ; i++)
{
cout<<i;
}

and the output will be :
123456789

but what i need to know is how to use it in a program or a game please help.

could you please elaborate? is it that you dont understand how it works?
I want to know how could I use it in a program .
Can ypu please give me an example program wich you use this loop in.
when you need to index an array or RAII container?
Topic archived. No new replies allowed.