i want to read text between two indices in the file usinf file i/o operations in c++. HOw ca i do it? for example, here is the text file:
1:
..
..
2:
..
..
3:
..
..
4:
in this text file i need to print only the lines between 2: and 3:. How could this be done?