cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
delete element from a txt file
delete element from a txt file
Jun 27, 2011 at 1:34pm UTC
hermanny
(9)
I am doing a program, where I must sort a really big file. I must use a metod that creates a lot of txt files. I want a function that is capable of deleting the first 2 elements from a txt file.
Exemple:
the file originally is
google 100
apple 250
amazon 310
fiat 200
After using the function the file is
apple 250
amazon 310
fiat 200
I hope you can help me.
Thanks.
Topic archived. No new replies allowed.