home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!paladin.american.edu!europa.asd.contel.com!darwin.sura.net!rsg1.er.usgs.gov!news.cs.indiana.edu!syscon!gator!rde!tssi!unlinfo.unl.edu!cse!lappala
- From: lappala@cse.unl.edu (Kristopher Lappala)
- Subject: fseek()
- Message-ID: <1992Sep15.065754.13629@unlinfo.unl.edu>
- Summary: Need help with fseek() and binary files...
- Keywords: fseek()
- Sender: news@unlinfo.unl.edu
- Nntp-Posting-Host: cse.unl.edu
- Organization: University of Nebraska - Lincoln
- Distribution: global
- Date: Tue, 15 Sep 1992 06:57:54 GMT
- Lines: 8
-
- I need to somehow detect the size of a binary file so my
- program will stop reading from it..
- i.e.
-
- while(i<=lastposition) {.......
- Thanks,
- K.L.
-
-