Mongo like DAN CHAK, Mongo write back:
DC> Does anyone know a quick way to get to the beginning of the next line of
DC> an istream text file?
DC> Thanks to anyone who responds!
DC> Dan
Try:
inFile.ignore(100,'\n')
inFile- the name of your ifstream file
.ignore(100, '\n') - this will ignore 100 characters or at the end of the
line.
Hope it helps
Later.....
Virgil Garness ==Mongo wuz here==
... Al's Force BBS == Down Not out == Fido 2:2501/206 Xnet 99:1/724
--- Platinum Xpress/Win/Wildcat5! v2.0
---------------
* Origin: Al's Force BBS 44-1638-532437 Fido 2:2501/206 (2:2501/206)
|