By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,190 Members | 839 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,190 IT Pros & Developers. It's quick & easy.

deleting lines with C++

P: 1
Hi,
I am trying to write a piece of code in Microsoft Visual C++ which can delete the first 5 lines from a text file after opening it and then save it. Can somebody please help me with this?
Jun 16 '06 #1
Share this Question
Share on Google+
2 Replies


Banfa
Expert Mod 5K+
P: 8,916
Post what you've written so far
Jun 16 '06 #2

sashi
Expert 100+
P: 1,754
Hi Arnie,

try out this sample code.. might help you..

http://www.planet-source-code.com/vb...=4505&lngWId=3
Jun 17 '06 #3

Post your reply

Sign in to post your reply or Sign up for a free account.