John Matthews wrote:
> --- In [email protected], osho ratha <rathao...@...> wrote:
>> can you explain me what is the purpose of loop
>>
>> and what is loop  in detail with example
> 
> C or C++? Trying googling for 'c++ control structures' - any use?

The purpose of a loop.  Hmm.  A good philosophical question.

Loops are a form of code maintenance.  That is, they reduce the amount 
of logic that has to be maintained.

Some loops are cleanly designed and some aren't.  The ones that aren't 
require additional logic to set up for the conditional stage (i.e. when 
to break out of the loop).

-- 
Thomas Hruska
CubicleSoft President
Ph: 517-803-4197

*NEW* MyTaskFocus 1.1
Get on task.  Stay on task.

http://www.CubicleSoft.com/MyTaskFocus/

Reply via email to