Raised This Month: $ Target: $400
 0% 

Reading Files


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
GXLZPGX
Veteran Member
Join Date: Sep 2009
Old 10-11-2010 , 15:28   Re: Reading Files
Reply With Quote #4

Quote:
Originally Posted by Bugsy View Post
Do you test your code before posting? Why are you using set_task? When comparing a single char you can do x == '*'. Please don't try to help others if you don't know how to correctly do things.

This can be done more efficiently by locating the position in the string where the two asterisks are and use a copy() for the text found between the two, using position 2 - position 1 + 1 as the number of chars to copy and text[ Pos1 + 1 ] as the start position to copy. I'll show you later if you can't figure it out.
I think I've got the idea. If you want to post an example it'd be appreciated but I'll my an attempt until then.
__________________
Currently accepting payment US DOLLARS ONLY for custom plugins, contact me through PM.
GXLZPGX 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 10:26.


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