Question Infinite loop
Hello, well how can i know, if some parts of code does the infinite loop, anyone can give me an Example of a infinite loop ?, it will be helpfull for me to prevent this. thnx
|
Re: Question Infinite loop
for( ; ; )
client_print( 0, print_chat, "LOOOOOPYYYY" ); But I guess that would crash the server or create mad lag. Or when you make smth like X = 3 while( x >= 2 ) { //execute stuff x++; } |
Re: Question Infinite loop
Quote:
|
Re: Question Infinite loop
while(true);
This is a generic question with many answers. Give us more specific details about what you are trying to accomplish |
Re: Question Infinite loop
Do you want an example or do you want to know the use of an infinite loop?
|
Re: Question Infinite loop
Quote:
PHP Code:
|
Re: Question Infinite loop
When g_mapVoteNum < 0 I guess
|
| All times are GMT -4. The time now is 15:29. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.