Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Why doesn't this loop work?
#2
Because you return the function within the while loop....

Your code
Code:
return 0;}}
Right code
Code:
}return 0;}
Reply


Messages In This Thread
Why doesn't this loop work? - by nevets04 - 11-10-2009, 11:45 PM
RE: Why doesn't this loop work? - by Gaijin - 11-11-2009, 12:08 AM
RE: Why doesn't this loop work? - by Etheryte - 11-11-2009, 02:19 AM
RE: Why doesn't this loop work? - by MrD. - 11-11-2009, 07:14 AM
RE: Why doesn't this loop work? - by nevets04 - 11-11-2009, 12:04 PM
RE: Why doesn't this loop work? - by Sagittarius - 12-11-2009, 03:38 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  For loop problem GeneralOJB 9 1,824 12-17-2009, 03:47 PM
Last Post: GeneralOJB

Forum Jump:


Users browsing this thread: 2 Guest(s)