Raised This Month: $ Target: $400
 0% 

how do i delete a line from a file? [solved]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Owyn
Veteran Member
Join Date: Nov 2007
Old 03-10-2009 , 15:46   how do i delete a line from a file? [solved]
Reply With Quote #1

Code:
new f = fopen(g_file, "a+");
    
    fprintf(f, "^"%s^" ^"%s^"^n",\
        arg1,\
        arg2
        );
    
    fclose(f);
i use this code to write lines, but i need to delete such a line, any ideas? ^_^
Owyn is offline
Send a message via ICQ to Owyn
 



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 09:02.


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