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)
|