Solved it, got the data i needed for line[34].simple codeusing namespace std; int main () { ifstream infile; infile.open("page.out"); string l...
My code for line[34] how to make it grab the dataI'm grabbing data from an html file and I need only the 34th character or above to 4 spaces only on ...
Why wont a substring method work in a while loopGood ideal, maybe some of the lines only had a few characters but some of the lines have over a 100 ...
Why does the get line method take more than one line sometimesI'm using the get line method for an infile file. Getmethod(infile,line). When I print the results ...
Why wont a substring method work in a while loopI was using getline(infile,line) for an out file that I had, and I tried to use line.substr(5,5); al...