24 Oct 2008 at 20:49 #1 OpenToSuggestions OpenToSuggestions Soldato Joined 5 Aug 2006 Posts 11,419 Location Derbyshire please delete . thanks Last edited: 24 Oct 2008
24 Oct 2008 at 21:30 #4 OpenToSuggestions OpenToSuggestions Soldato OP Joined 5 Aug 2006 Posts 11,419 Location Derbyshire Got it working, I thought I had it ok so deleted OP but turns out I was still wrong TY guys
24 Oct 2008 at 21:51 #5 OpenToSuggestions OpenToSuggestions Soldato OP Joined 5 Aug 2006 Posts 11,419 Location Derbyshire geuben said: int i = 1; while (i = 1) if(x>0) blah blah else if(x<0) blah blah end end Click to expand... Haven't tried a while loop yet! What geuben said works. Last thing is for the user to be able to chose to stop before the counter maxes out. How would I do that?
geuben said: int i = 1; while (i = 1) if(x>0) blah blah else if(x<0) blah blah end end Click to expand... Haven't tried a while loop yet! What geuben said works. Last thing is for the user to be able to chose to stop before the counter maxes out. How would I do that?