Hi
I am writing a C++ program dealing with datas.
One of the function I used in my program as given below,
while (getline(input, buff)) {
if (buff.find("X-Coordinate") != string::npos) {
continue; // don't do anything else this pass through the loop
}
Now my problem is Once my program read a line with "X-Coordinate" it should pass 10 lines and then it should read datas from file. Pls help me how to get rid of 10 lines from a particular line.
Regards,
Sitha.
I am writing a C++ program dealing with datas.
One of the function I used in my program as given below,
while (getline(input, buff)) {
if (buff.find("X-Coordinate") != string::npos) {
continue; // don't do anything else this pass through the loop
}
Now my problem is Once my program read a line with "X-Coordinate" it should pass 10 lines and then it should read datas from file. Pls help me how to get rid of 10 lines from a particular line.
Regards,
Sitha.