Raised This Month: $ Target: $400
 0% 

[Solved]How to count the connections to the server?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
RedRobster
Veteran Member
Join Date: Apr 2010
Location: Your Closet
Old 07-15-2010 , 11:39   Re: How to count the connections to the server?
Reply With Quote #8

Quote:
Originally Posted by Backstabnoob View Post
I thought there was some difference between something++ and ++something, just didn't know what exactly.
I don't know exactly how to explain it with words, but I can with this:

PHP Code:
for(new i=015i++)
{
    
// i is 0 first
    // ...
    // i is 14 last
}

for(new 
i=015; ++i)
{
    
// i is 1 first
    // ...
    // i is 15 last

Both of them will loop the same number of times. The only difference is that the first one is increasing i after the function, and the second one is increasing it before.

If I am not mistaken...
RedRobster is offline
 



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 07:15.


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