![]() |
!done
what does this mean...
while (!done) {} what does the !done mean? thanks |
I would assume that done is a boolean variable.
The statement you have created is a while loop which will loop checking each time if the conditional evaluates to true. In the case you provided the conditional would be the opposite of the value 'done', due to the '!' not operator. Code:
done = true; |
Is it infinite loop? if not then it must be some Boolean variable whose value is set before using it in the while loop.
|
thanks. that helps.
|
| All times are GMT +1. The time now is 09:26 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.