TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: JOE CANHOTO
from: CHRIS DOWNS
date: 1997-03-31 12:09:00
subject: Re: file size

 JC> file.seekg(0L, ios::end);
 JC> 
 JC> There is a problem with this method which can be worked around if
 JC> you're using Microsoft Visual C++ 4.0 or later. It seems that microsoft
 JC> decided not to allow use of seekg for the time being (weirdos). Here's
 JC> something for you VC++ users....
 JC> while (cin.get()!=OL);
 JC> 
 JC> I've encountered this when switching over from Borland's C++ to the
 JC> big Ms. 
I've never had any problems with seekg() and any versions of VC++.  What
problem are you referring to??
---
 þ Blue Wave/QWK v2.12 þ
---------------
* Origin: St. Louis Users Group (1:100/4)

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™.