loop

i dont know why i am not good in looping. how can i help it? i solved many problems in looping but it could not help me
do you mind elaborating??? i don't really understand your question
I'm not sure what you're trying to ask but I'll give you a basic overview of the basic loops


1. The while loop:
1
2
3
4
while() // condition
{

}


2. do-while loop:
1
2
3
4
do
{

}(while x > y ) //condition to loop. 


3. The for loop:
1
2
3
4
for (declare&initialize variable; condition; increment/decrement)
{

}
Last edited on
If you want to learn how to cock, you must cock. If you want to learn looping in C++, you must loop, folk.
Sorry guys. This thread is a mess dont mid this
Topic archived. No new replies allowed.