Solved it, got the data i needed for line[34].simple code

using namespace std;


int main ()
{
ifstream infile;
infile.open("page.out");

string line;
string sub;
string sub2;
string number;
int count =1;
bool found = 1;

while
( infile.good())
{
count++;
getline(infile, line);


// std::size_t pos = line. find("racelineb");

// cout<<"position"<<
// pos<<endl;

//if(line.find("racelineb ")){cout<<"*****"<<line
// [16];
sub = line[16];
sub2 = line[24];
if((sub== "r")&&(sub2 == "b")){number = line[34];
cout<<" line 34"<<
number;}
cout<<line<<endl;

}
infile.close();

return 0;
}

line 347 <td class= "racelineb" nowrap>7&nbsp;</td>
line 346 <td class= "racelineb" nowrap>6&nbsp;</td>
line 347 <td class= "racelineb" nowrap>7&nbsp;</td>
line 347 <td class= "racelineb" nowrap>7&n
Topic archived. No new replies allowed.