Raised This Month: $ Target: $400
 0% 

Writing to file?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 07-24-2010 , 08:52   Re: Writing to file?
Reply With Quote #6

Quote:
Originally Posted by nikhilgupta345 View Post
I thought trim removes the spaces in the array? Or do the blanks not get written in the file?
An array is not filled with spaces, it is filled with null characters. When you read name,authid,ip,etc, the array is filled with the data followed by null characters which do not need to be trimmed. Search the web for null terminated strings for more info.
__________________

Last edited by Bugsy; 07-24-2010 at 09:03.
Bugsy 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 00:06.


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