i have a text file

<start>welcome!30 is my class roll number<end><start>A is the first alphabet<start>12345678919<start>c++ is a good language and

<start> and <end> are strings.

I have to create a c++ function that will delete only those text ocurring between <start>and<end>,including <start> and <end>.Text that starts with <start> and does not end with <end>, should remain intact. please give a c++ code that could do this.
some information are

platform:redhat linux
compile:g++
language++

Recommended Answers

All 2 Replies

doesnt work that way over here dude... sorry.

Be a part of the DaniWeb community

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