replacing a whole line in a file with nothing
EDIT:
New question. Lets say I have line text wich equals "^r". I want to replace this with "" meaning i would like to delete the line, would this be possible? i've tryed fprintf and fputs but I'm not really getting anywhere with it... everytime it prints at the end of the file. I would like doing this with the new file natives and without creating a temp file. Current Code: Code:
|
Re: fopen modes, read + write in one file.
Quote:
http://www.cplusplus.com/reference/c...dio/fopen.html |
Re: fopen modes, read + write in one file.
at+
|
Re: fopen modes, read + write in one file.
Quote:
|
| All times are GMT -4. The time now is 22:27. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.