Looping

Can some one explain to me this looping function.
While
do while
for while
in a clear English that i can understand.
There's no such thing as a for while.
Check the tutorial on this website in the documentation section for an answer to your question.
@tummychow
i bet he mean for loop, then while loop.. come on! be easy on typos.
Sorry guys.
I meant, while do while and for loop. e.g all the looping. what is the different

and I need help to understand this example.

for (i=1; i<=5; i++)
{ for (j = 1; j <= i; j++)
cout <<"*";
cout <<endl;
}
what is does what. is this a looping for j or i.
please read the link above, the explanation is good..

you code will simply draw this

*
**
***
****
*****
I'm not being harsh. I'm just saying. There's no such thing as a for while.
Topic archived. No new replies allowed.