TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: DAN CHAK
from: VIRGIL GARNESS
date: 1997-05-25 09:46:00
subject: RE: Getting to next line

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)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.