HI! i'v got a file like this:

Lesson Name:Math Lesson File Name:1892.txt

Student ID | Number

1892-----------20

i want to delete "20",only "20"!
what i have to do?
would you explain seekp,seekg,tellp,tellg...
i looked everywhere for the but find nothing!
please help...
thanks so much

Recommended Answers

Post what you have sofar.....

Doing the coding and explaination is quiet painstaking....

Come back with the code, and we will help......

Jump to Post

All 2 Replies

Post what you have sofar.....

Doing the coding and explaination is quiet painstaking....

Come back with the code, and we will help......

i don't have any idea how can i remove second line with seekp.. ijust can go forward and backward in line one! how to get into second line!?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.