In this example take from (site) with python in this guide the undesired line are delete easly. I'm trying to do the same thing in c++ but I can't seem to find the rigth function to do this. Do you know how I can do this?

|   | 1 |  initial version  | 
In this example take from (site) with python in this guide the undesired line are delete easly. I'm trying to do the same thing in c++ but I can't seem to find the rigth function to do this. Do you know how I can do this?
