Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by FudgeFU

  1. FudgeFU

    Getline from File bug?

    Oh Ok, I thought that seekp/tellp and seekg/tellg were two different values. One for putting, one for getting. I checked to see if I played around with the get pointer, because thats where its going wrong. But im not playing around with the get, so I assumed it should be getting the entire...
  2. FudgeFU

    Getline from File bug?

    while(!myfile.eof()) { putmarker = myfile.tellg(); myfile.getline(stringline, 100); if (isEntry(stringline)) { myfile.seekp(putmarker); myfile << &quot;[Entry_&quot;; myfile << setw(5) << setfill('0') << currentindex; myfile << &quot;]&quot; << endl...
  3. FudgeFU

    Getline from File bug?

    Hey peeps. Im getting this weird error. Dont know if its visual c or me (prolly the latter) Trying to read text in from file, simple: mystream.getline(mystring, 100); im printing it out to the prompt to check if everythings ok. Works except for a few lines (prolly 1% of lines) that have the...

Part and Inventory Search

Back
Top