solutions to these problems

C++ loop
Started by
bobnewhart
, Jun 24 2005 01:06 PM
#1
Posted 24 June 2005 - 01:06 PM

solutions to these problems
#2
Posted 24 June 2005 - 09:57 PM

What exactly do you need help with?
#3
Posted 09 July 2005 - 09:23 AM

what are you implementing the:
for(init;condition;increment) LOOP
while (condition)...do LOOP
do...while (condition) LOOP
be sure to design your loop carefully so it wont be stuck to an infinite loop. Otherwise you have to CTRL+ALT+DEL, force end task it.
for(init;condition;increment) LOOP
while (condition)...do LOOP
do...while (condition) LOOP
be sure to design your loop carefully so it wont be stuck to an infinite loop. Otherwise you have to CTRL+ALT+DEL, force end task it.
#4
Posted 10 July 2005 - 11:33 PM

The problem is stack overflow or run out of memory ( usually ur loop cannot exit due to faulty conditions statement). This can cause the computer to crash.
Second is sometimes ur algorithm is not efficient enough causing longer processing time. Clever and ingenuity in code writing can eliminate this problem.
Second is sometimes ur algorithm is not efficient enough causing longer processing time. Clever and ingenuity in code writing can eliminate this problem.
Similar Topics
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users
As Featured On:






