sorry,
im new to c and am wondering how to muck a program loop up to the top.
Thankyou
sorry,
im new to c and am wondering how to muck a program loop up to the top.
Thankyou
Dont know quite what you are saying....if you mean send an iteration back to the top of the loop block.?? - try the "continue" keyworkOriginally posted by unregistered
sorry,
im new to c and am wondering how to muck a program loop up to the top.
Thankyou
You mean a loop?
This will execute the commands within the brackets as long as *expression* equals to true (non-zero).
Also, look up for and do. Loops are a very important part of programming.Code:while( *expression* ) { *commands* }
MagosX.com
Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime.
Where I come from, mucking something up means to make a mistake. That's easy, so you probably mean something else.sorry,
im new to c and am wondering how to muck a program loop up to the top.
are you talking about a goto statement, or a loop???Originally posted by unregistered
sorry,
im new to c and am wondering how to muck a program loop up to the top.
Thankyou
Use the continue statementOriginally posted by unregistered
sorry,
im new to c and am wondering how to muck a program loop up to the top.
Thankyou