How to remove some text from txt file via C++ fstream. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to remove some text from txt file via C++ fstream.

How to remove some specific part or section of text in a txt file via file handing or fstream in C++.

6th May 2019, 8:21 PM
Hamad Badar
Hamad Badar - avatar
1 Answer
+ 1
How about using Regular expression. Regular expressions are a powerful tool that allows you to solve complex text processing problems quite simple.
7th May 2019, 1:07 AM
Druko
Druko - avatar