M
Major_Small
would you include infinite loops, possibly infinite loops, unaccounted
for user input, infinite recursion, and that type of thing? if so
those are probably my biggest problems...
more specifically, I lose track of my loops and the scope of variables
while in those loops... for example:
for(int i=0;i<10;i++)
{
//code here
i--
//code here
}
in that example I may be using the LCV to try to increase (or
decrease) the amount of time the loop runs depending on how things go
inside the loop, but then I may miss something similar to above, where
it essentially creates an infinite loop...
for user input, infinite recursion, and that type of thing? if so
those are probably my biggest problems...
more specifically, I lose track of my loops and the scope of variables
while in those loops... for example:
for(int i=0;i<10;i++)
{
//code here
i--
//code here
}
in that example I may be using the LCV to try to increase (or
decrease) the amount of time the loop runs depending on how things go
inside the loop, but then I may miss something similar to above, where
it essentially creates an infinite loop...