Raised This Month: $ Target: $400
 0% 

Question Infinite loop


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ghost95v
Senior Member
Join Date: Apr 2014
Location: somewhere in universe
Old 12-29-2014 , 14:58   Re: Question Infinite loop
Reply With Quote #1

Quote:
Originally Posted by YamiKaitou View Post
while(true);


This is a generic question with many answers. Give us more specific details about what you are trying to accomplish
i just want to understand when some part of code will give a infinite loop .Well for eg. on this code below, how it might be to give a infinite loop?

PHP Code:
bool:isInMenu(id)
{
    for (new 
0g_mapVoteNum; ++a)
        if (
id == g_nextName[a])
            return 
true
    
return false

__________________

Last edited by ghost95v; 12-29-2014 at 14:59.
ghost95v is offline
Send a message via Skype™ to ghost95v
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:29.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode