Raised This Month: $ Target: $400
 0% 

[ Solved ] is_user_in_file


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 06-24-2012 , 05:53   Re: [REQ] is_user_in_file
Reply With Quote #7

Quote:
Originally Posted by Aooka View Post
Code:
new ConfigsDir[ 64 ]
You've explained the 64 .. But i do not understand ... So ... Please
It's just a string length, you can use whatever you want.
The real length for "addons/amxmodx/configs/vip.ini" is 30 characters, so the size can be 31.
However, since the configs directory is customizable, developers like myself use 64 for path sizes since that is a comfortable maximum for path lengths.

Quote:
Originally Posted by Aooka View Post
Here :
Code:
while( !feof( FileHandle ) )
feof() returns whether or not the current file handle has reached the end of the file.
This line continues looping until the end of the file has been reached.

"While we have not reached the end of the file..."

Quote:
Originally Posted by Aooka View Post
And to conclude here :
Code:
fgets( FileHandle , line, charsmax( line ) );
Gets the current line that the file handle is pointing to.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] 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 06:10.


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