Are you a QOTWer? Do you want to start a thread that isn't a direct answer to the current QOTW? Then this place, gentle poster, is your friend.
(, Sun 1 Apr 2001, 1:00)
« Go Back | See The Full Thread
the keyword is 'while' not 'until'. And saying 'death == true' is redundant seeing as 'death' in this context appears to be a boolean variable and A == true => A. But as the meaning of until is the opposite of while, the not operator needs to be introduced to produce the inverse of the 'death' boolean.
So the code should be:
do { ... } while (!death)
(, Thu 8 Jul 2010, 11:56, 2 replies, latest was 16 years ago)
I went to an all-you-can-eat buffet last night (various styles of food, Jimmy Spices) and ate sooooo much spicy food I was sweating. Lots of spicy meat FTW!
(, Thu 8 Jul 2010, 12:45, Reply)
« Go Back | See The Full Thread